日期:2014-05-18  浏览次数:20501 次

朋友们`大哥們,救命
在本地调试正常运行,但到了服务器上就报错



以下是报错内容


Compilation Error 
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS0012: The type 'Upload.Global' is defined in an assembly that is not referenced. You must add a reference to assembly 'App_Code.lqdata15, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

Source Error:

 

Line 41: }
Line 42:  
Line 43: protected ASP.global_asax ApplicationInstance {
Line 44: get {
Line 45: return ((ASP.global_asax)(this.Context.ApplicationInstance));
 

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\85d1a2b2\af369fce\App_Web_managefloorbasic.aspx.6cf2cd9c.mispprie.0.cs Line: 43 



------解决方案--------------------
发布后DLL不匹配,重新发布网站
------解决方案--------------------
汇编错误,找找Upload.Global这个文件