.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 12th, 2004, 01:14 PM
sridas sridas is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 sridas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Lightbulb Parser Error Message: Could not load type 'MyWeb.Home'.

Hello all,
I have seen a similar posting on the above error message on this forum, but they were a little different from my scenario, if anyone has ever encountered this problem please let me know.

I have a project on a development box1, I compile the project and can brows through the pages perfectly, I now want to move the code to a production box2, where I dont want to compile any
code, so I just move the aspx pages + dll from box1.

I get the following error
Parser Error Message: Could not load type 'MyWeb.Home'.

on the home page. I have the folder structure matching on both box1 and box2. I tried to rebuild the application, deleted the dll and recreated and moved it, it give the same error.

any ideas greatly helpful.

thanks
das

Reply With Quote
  #2  
Old January 12th, 2004, 02:30 PM
sridas sridas is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 sridas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up Answer Posting

Hello all,
I am giving the answer myself, who know someone will come across this weird .net problem later,

1. Remove all the References on the Box (Production in my case)
- ASPX Pages, HTML Pages, Script Files, Even Images
2. Remove all DLL's from the bin directory on Prod box
3. Move the New DLL(After doing a Good Build/Rebuild) from Dev box to Prod Box
4. Move the ASPX/HTML/Img's to Production FROM DEVELOPMENT

you should be fine after you do all this, if not try out some of the other steps in the other thread:

URL

Peace
Das

Reply With Quote
  #3  
Old May 6th, 2004, 12:36 AM
arfanameer arfanameer is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 1 arfanameer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up Got it

I too faced the same problem and finally i found that the problem lies in the configuration of the specific project folder in IIS. After fixing it , the application works.

Reply With Quote
  #4  
Old May 8th, 2004, 06:27 AM
jsantiagojr jsantiagojr is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 1 jsantiagojr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Post Try this

Go to IIS manager, right click on the virtual folder and go to properties. Then, under Application settings hit create. This will build an application if it's not already there. This worked for me under MS Server 2003. I also had Scripts and Executables turned on.

Reply With Quote
  #5  
Old May 27th, 2004, 07:18 PM
lanzdale lanzdale is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 2 lanzdale User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The .dll has to be in the IIS bin folder

That's it, references are relative to IIS bin directory, ie the Virtual folder, not the Windows folder.

I fixed my references this way.

Copy the whole application folder somewhere else, then in IIS Manager delete the original. Copy back.
Then (in IIS)=> New/Virtual Directory select the directory.

(Make sure to note beforehand, reset any other properties, like Directory Security etc.)

John

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > Parser Error Message: Could not load type 'MyWeb.Home'.


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap