|
|
|
start date: Tue, 14 Aug 2007 15:38:25 +0300,
posted on: microsoft.public.dotnet.framework.compactframework
back
| Thread Index |
|
1
Empi
|
|
2
dbgrick
|
|
3
Empi
|
System.UnauthorizedAccessException
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.
Date:Tue, 14 Aug 2007 15:38:25 +0300
Author:
|
RE: System.UnauthorizedAccessException
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
"Empi" wrote:
> 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
Date:Tue, 14 Aug 2007 07:10:01 -0700
Author:
|
Re: System.UnauthorizedAccessException
Ok,
I promise to do as if I understood that...
;-)
ty anyway.
"dbgrick" wrote in message
news:FBD71652-ECFF-4979-A645-994A4E80580C@microsoft.com...
> 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
>
> "Empi" wrote:
>
>> 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
Date:Wed, 15 Aug 2007 09:24:17 +0300
Author:
|
|
|