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
 

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

Back
Top