1

An ASP.NET 2.0 web application has been compiled with PDB symbols, deployed to a server running IIS 6.

In the web.config, user impersonation is enabled:

  <identity impersonate="true" />

When an Exception is thrown, the stack trace is missing line numbers, making it very difficult to determine exactly where the exception is emanating from. eg.

System.NullReferenceException: Object reference not set to an instance of an object. at MyApp.ReportingServices.WebForm.DA.AmoRepository.GetDimensions(String perspective)

The login being used to access the website has no special rights or group membership on the server.

David Gardiner
  • 16,892
  • 20
  • 80
  • 117

1 Answers1

2

I managed to get a detailed stack dump for the exception by assigning the 'Debug Programs' user right to the particular login.

Once the exception was diagnosed I removed that user from that assignment.

David Gardiner
  • 16,892
  • 20
  • 80
  • 117