StackTrace Line Numbers Missing in ASP.NET deployment...

G

Guest

I hope this is the proper news group to report my problem.

I am using the Exceptions Application Block in an attempt to report runtime
errors in an ASP.NET application. I have written a custom publisher to email
the error report. All is okay on my development machine. It reports the line
number in the source where the exception was raised. This info is read from
the Exception.StackTrace property. However, when I deploy the same exact
executable files to the web server, I no longer get the source file and line
number information.

I have the web.config file set to

<customErrors mode="Off"/>

This reports the detail of the exception stack when an error occurs. The
full stack info is reported on the error page on the web server. But the full
stack info is not present in the Exception.StackTrace property.

I am beside myself on this one and would appreciate any help.

Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top