J
Jonah Olsson
Hi guys,
For my VB.NET application, I created an ErrorHandler class that should save
all available information about the last error occurred. I use
Server.GetLastError for this.
The problem is that I quite often get errors that I really can't say why
they happen because of the lack of information from GetLastError. This is an
example:
System.NullReferenceException: Object reference not set to an instance of an
object.
at MyApp.GlobalApp.Application_BeginRequest(Object sender, EventArgs e)
at
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.
Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
Is this really all I can get from the exception? How can I tell what really
happened since our test group hasn't found any bugs when testing the site?
Thanks.
Best regards,
Jonah Olsson
For my VB.NET application, I created an ErrorHandler class that should save
all available information about the last error occurred. I use
Server.GetLastError for this.
The problem is that I quite often get errors that I really can't say why
they happen because of the lack of information from GetLastError. This is an
example:
System.NullReferenceException: Object reference not set to an instance of an
object.
at MyApp.GlobalApp.Application_BeginRequest(Object sender, EventArgs e)
at
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.
Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
Is this really all I can get from the exception? How can I tell what really
happened since our test group hasn't found any bugs when testing the site?
Thanks.
Best regards,
Jonah Olsson