首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

朋友们`大哥們,救命解决方案

2012-03-02 
朋友们`大哥們,救命在本地调试正常运行,但到了服务器上就报错以下是报错内容Compilation ErrorDescription

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



以下是报错内容


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这个文件

热点排行