PC Review


Reply
Thread Tools Rate Thread

Unhandled exception of type System.StackOverflowException occurred in mscorlib.dll

 
 
Nikhil Khade
Guest
Posts: n/a
 
      21st Apr 2005
Hello,

After around 3 months, I reopened a old VB.NET solutions which used to work
(and build) without any errors. Just to test it again, I build it again and
it completed, without any errors, but then immediately started showing me
the message "An unhandled exception of type 'System.StackOverflowException'
occurred in mscorlib.dll" at InitializeComponent() with all lines containing
Image load or default icon, like the following:

Me.picLoginProgress.Image =
CType(resources.GetObject("picLoginProgress.Image"), System.Drawing.Image)
Me.picLogin.Image = CType(resources.GetObject("picLogin.Image"),
System.Drawing.Image)
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)

The solution contains several projects and all the other work properly when
compiled individually. Any ideas why this would be occurring only in one
project?

Regards,
Nikhil Khade


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
an unhandled win32 exception was unhandled occurred in inetinfo.exe Warren Tang Microsoft ASP .NET 1 23rd Sep 2008 04:01 PM
An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in system.dll RJDev Microsoft Dot NET Framework 1 9th Mar 2004 02:11 PM
Problems during execution on device:' An unhandled exception of type 'System.Exception' occurred in System.Drawing.dll' Domenico La Fauci Microsoft Dot NET Compact Framework 1 30th Oct 2003 01:50 AM
Re: An unhandled exception of type 'System.OutOfMemoryException' occurred in system. Vasco Veiga [MS] Microsoft ADO .NET 0 27th Jul 2003 11:40 PM
An unhandled exception of type 'System.Security.SecurityException' occurred in Unknown Module Gilles Microsoft Dot NET Framework 0 18th Jul 2003 01:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:39 AM.