System.UnauthorizedAccessException

E

Empi

Hi,

When loading a project, I get hundreads of "A first chance exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll".

It is generated when the form is loading (before form_load is executed).

The software is working fine.

I think it has to do something with loading my images (I have lots of picture boxes in it).

Any idea where to start?



Thanks.
 
G

Guest

The Resource manager throws these first chance exceptions when searching for
the correct resource file. At a previous contract we reduced these
exceptions (MS appears to be using flow through exception management for the
resource manager) by caching the images needed and then retrieving them
through the image cache class.

Rick D.
Contractor
 

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

Top