ASP.NET应用程序DLL发布错误消息

时间:2015-10-06 10:58:09

标签: asp.net

我通过FTP手动发布我的ASP.NET应用程序DLL。我希望能够在上传DLL时向用户显示友好的错误消息。我已经尝试了app_offline.htm(长度超过512)。当我的应用程序的DLL正常时,它工作正常。但是一旦我删除DLL或开始复制DLL,我就会收到像

这样的错误
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 'WebManagerSuite.Global_asax'.

在主应用程序DLL被替换时,有没有办法让友好的错误消息保持可用?

0 个答案:

没有答案
相关问题