ASP.NET Parser Error Message: Could not load type 'Web.Global'.

Server Error in '/myapp' Application.

Parser Error

Description:An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message:Could not load type 'Web.Global'.

Source Error:

Line 1:  <%@ Application Codebehind="Global.asax.cs" Inherits="Web.Global" Language="C#" %>

Source File:/ierp2/global.asax Line:1


Version Information:Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1


Web项目引用了其它的类项目,打开Bin一看,下面是空的,才想起来之前做备份的时候执行了清理解决方案,这次发布的时候没有重新生成,重新生成之后,把Bin目录下的文件复制到发布目录的Bin目录下,问题解决。

你可能感兴趣的:(asp.net)