System.NotSupportedException was unhandled

G

Guest

Hi

My application was running till last monday...

Now suddenly i am getting the following exception...
System.NotSupportedException was unhandled
Message="System.Drawing.Bitmap"
StackTrace:
at System.Resources.ResourceReader.LoadObjectV2()
at System.Resources.ResourceReader.LoadObject()
at System.Resources.RuntimeResourceSet.GetObject()

I debugged the appicaion and found when it tries to execute
this.btnNext.Image =
((System.Drawing.Image)(resources.GetObject("btnNext.Image")));
I am getting the error...

resources.GetObject("btnNext.Image") is giveing me an exeception
"resources.GetObject("btnNext.Image")' threw an exception of type
'System.NotSupportedException"

I am not able to understand why this is happening suddenly...

Please help me. its a show stopper for me..

Thanks in advance...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top