DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
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:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us