Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / August 2007

Tip: Looking for answers? Try searching our database.

System.UnauthorizedAccessException

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Empi - 14 Aug 2007 13:38 GMT
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.
dbgrick - 14 Aug 2007 15:10 GMT
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

> Hi,
>
[quoted text clipped - 9 lines]
>
> Thanks
Empi - 15 Aug 2007 07:24 GMT
Ok,

I promise to do as if I understood that...

;-)

ty anyway.

> The Resource manager throws these first chance exceptions when searching
> for
[quoted text clipped - 22 lines]
>>
>> Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.