We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Could not load type error in Deployment [Answered]RSS

1 reply

Last post Jul 08, 2011 07:46 AM by sahishnu

  • Could not load type error in Deployment

    Jul 07, 2011 08:15 AM|Sahishnu|LINK

    Hello All, I have this web app which is running fine on the intranet. The error occurs when I try to deploy this web application on a deployment machine after I generate a package. The installation on running says Parser Error Message: Could not load type 'WebApplication3.Global'. Source Error: Line 1: Source File: /psb13/global.asax Line: 1 While looking for a solution I found that global.asax.cs should have the namespace same as Inherits, which I checked to be correct. Recompilation, rebuild nothing appears to help. Any ideas? I am working on asp.net 2010 with IIS 6

    IIS deployment asp.net

  • Re: Could not load type error in Deployment

    Jul 08, 2011 07:46 AM|Sahishnu|LINK

    Okay resolved. For any body who is looking for a solution, copying the Bin directory along with all the contents to wwwroot solved the issue.