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 / May 2005

Tip: Looking for answers? Try searching our database.

resources.GetObject thorows excpetions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tomer - 02 May 2005 13:20 GMT
Hi,

I've encountered a bug with the .net when using the resources.GetObject
command generated by the designer.
I've created a new project with an picture control, and assign it a bitmap.

When I've set in the menu options Debug->Exceptions: Select Common Language
Runtime Exceptions-> check both the 'Break into debugger' and then run the
project I got these exceptions:

1.FileNotFound exception after the system call:
> mscorlib.dll!System.Reflection.Assembly.InternalGetSatelliteAssembly(System.Globalization.CultureInfo
> culture = {System.Globalization.CultureInfo}, System.Version version =
> {System.Version}, bool throwOnFileNotFound = true) + 0x68 bytes

2.UnauthorizedAccessException after the system call:
>  mscorlib.dll!System.IO.MemoryStream.GetBuffer() + 0xe bytes

Although I get these exceptions, the application can continue and run
properly when I choose to continue on the exception.

Any ideas on this problem??

Tomer.
Damon Payne - 02 May 2005 15:01 GMT
I have seen the same issue, related to trying to load an Icon from the
resource bundle.  I haven't gotten around to trying to fix it yet, but
I was going to try adding some security attributes and strong names to
try to get around the unauth access.
Tomer - 03 May 2005 08:36 GMT
So this is an open issue on the compact framework? Is there no reference on
it from the microsoft dev team?

Tomer.

>I have seen the same issue, related to trying to load an Icon from the
> resource bundle.  I haven't gotten around to trying to fix it yet, but
> I was going to try adding some security attributes and strong names to
> try to get around the unauth access.
cbordian - 26 May 2005 16:38 GMT
_I had a similar problem -- actually, more similar to Damon's post on this
topic -- and setting the Connectivity options on the emulator got me through.
I also set permissions on the default web page directory, granting access to
aspnet_net, Network Service, and Service.

> Hi,
>
[quoted text clipped - 20 lines]
>
> Tomer.

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.