Thanks, but this doesn't help. Some more important facts about this project:
1. This only happens in the release build. (One assembly built using the WebDeployment project.) 2. Once I get the standard error page (as my global handler is being ignored), the application is in an unstable state. This manifests itself as strange errors from the data provider (SQL Server) where you get a timeout error but no actual timeout. The only way around this is to restart IIS. 3. I have a custom IHttpHandler in this application. 4. Nothing else in the Global.asax page gets called either (including Session_end, Application_End, ... Anyone? -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Georg Jansen Sent: Thursday, January 12, 2006 2:51 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Application_Error and WebDeployment Did the same, and it is working. I believe the global.ascx.cs file have to be placed in the App_code directory, also make sure that the reference to the codebehind in Global.asax is correct (CodeBehind="App_Code\Global.asax.cs) Best regards Georg www.l4ndash.com - Log4Net Dashboard / <http://www.l4ndash.com/> Log4Net Viewer -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Reid Sent: 12. januar 2006 23:41 To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] Application_Error and WebDeployment We're using the new WebDeployment project and building our web project so that it gets built into a single assembly. There is a Global.asax page with an Application_Error handler in it. (This handler logs the error). However, this handler is never called. The project was upgraded from 1.1 where everything worked fine. Any help greatly appreciated. Ryan =================================== This list is hosted by DevelopMentor. http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor. http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com