Application_Error not firing in Release Mode.

  • Thread starter Ken Dopierala Jr.
  • Start date
K

Ken Dopierala Jr.

Hi,

I'm having a problem where my Application_Error() event in my Global.asax
file isn't firing in Release Mode. If I compile in Debug it fires just
fine, but if I then recompile in Release it won't fire. This just started
about a month ago but I didn't spend anytime on it till now. I'm not sure
if I installed anything just prior to the problem. In any case it does the
same thing when I post it to my web server. Debug mode works like a charm
but Release mode ignores it. Any ideas? Thanks! Ken.
 
K

Kumar Reddi

I think it would need the .pdb file which has the debug information to
access the exception detail. This file is automatically generated to you
when you compile in a debug mode. In your project settings, you can tell the
compiler to generate this debugging information even in the Release mode
compilation
 

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

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top