D
dave_93_98
Hello,
I am trying to use my apps global.asax and web.config to log an error
message and move to a custom error page. This works great locally but
does not work on a Win2K3 server (it redirects to the error page but
does not log the error). Here is the relevant code -
-- web.config --
<customErrors defaultRedirect="~/Error.aspx" mode="On" />
-- global.asax.vb --
Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.Publish(Server.GetLastError().GetBaseException())
End Sub
Any suggestions would be greatly appreciated.
Thanks,
Dave
I am trying to use my apps global.asax and web.config to log an error
message and move to a custom error page. This works great locally but
does not work on a Win2K3 server (it redirects to the error page but
does not log the error). Here is the relevant code -
-- web.config --
<customErrors defaultRedirect="~/Error.aspx" mode="On" />
-- global.asax.vb --
Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManager.Publish(Server.GetLastError().GetBaseException())
End Sub
Any suggestions would be greatly appreciated.
Thanks,
Dave