Global.asax中未发布和事件不会在Global.asax中烧 [英] Global.asax is not publishing and event are not firing in Global.asax
问题描述
我开发ASP.NET Web应用程序和未处理的异常我正在利用的
Global.asax文件如果我写了一个逻辑写入错误日志为
I am developing ASP.NET web application and for unhandled exception i am making use of Global.asax file Where I wrote a logic to write the error logs as
Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
'Code that runs when an unhandled error occurs
End Sub
它所有的工作,但在本地网站公布的Global.asax时未被发布
还是我上载的Global.asax到远程服务器,但事件不触发
我的应用程序使用IIS 7作为Web服务器
It all works locally but when published the website global.asax not being published still i uploaded global.asax to remote server but events are not firing My application uses IIS 7 as a Web server
我是否需要任何形式的配置建议,如果您有任何解决方案
Do i need any sort of configuration Suggest if you have any solution
推荐答案
我还上传了App_global.asax.compiled和它的作品
i also uploaded App_global.asax.compiled and it works
这篇关于Global.asax中未发布和事件不会在Global.asax中烧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!