How to Catch "Unhandled exception" for a "file or assembly not found" error?

  • Thread starter Thread starter Erialc Berts
  • Start date Start date
E

Erialc Berts

I know why we get this error, but does anyone know how to
catch it so that we can display a more helpful message to
our users?

I am interested both in a .exe and a web site.

Thanks in advance to all positive, helpful replies.
 
These may be obvious, but if not, have you tried the
following techniques for your website?

1. placing an exception handler in your global.asax file?
2. setting the cusom errors url in your web config?

Jerry Negrelli
Senior Software Engineer
Data Scientific Corporation
 
Back
Top