Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Could not load type
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2000 Server
Divers
Thread ID:
01226358
Message ID:
01226714
Vues:
12
Thanks Oliver, yes I'm using ASP 2.0 and that was the problem, my virtual
directory in IIS was set for ASP 1.0, as soon as I changed it to be 2.0 the problem went away.



>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.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform