Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Could not load type
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01226358
Message ID:
01226595
Views:
19
Hi Luis,

It sounds to me as if you are missing to distribute the 'App_Code' folder to your destination server.
If you compile your web site the aspx files are getting marked with the info for the according code behind (which is compiled inside a dll in the 'App_Code' folder).

Take a look at the file 'Default.aspx' at your destination server and open it with an editor / VS. The first line should contain something like '..._Default.aspx.cs...'

Do you have set to use ASPNET 2.0 for this application inside IIS (properties page for this virtual directory / application)?

HTH

>Hello everyone, I created a simple web site, it compiles fine and it
>runs fine when I launch it from within Visual Studio, after I published in my
>local computer and run it I get the error "Could not load type '_Default'",
>I look all over the place without getting a straight answer, any ideas?
>
>
>Thanks in advance.
robert.oh.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform