Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic System.BadImageFormatException error (Read 2942 times)
rexn8r
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Nov 19th, 2006
System.BadImageFormatException error
Nov 19th, 2006 at 9:52pm
Print Post  
Hi all you gurus out there!

I'm bit stuck with Flowchart.Net control. I'm evaluating the control and i have created a usercontrol having Flowchart.Net control on it. I've added the usercontrol on my form.

The problem is, everything works fine in chart control but as soon as i close the form, it throws "System.BadImageFormatException" error. 
----#######################

An unhandled exception of type 'System.BadImageFormatException' occurred in Unknown Module.

Additional information: An attempt was made to load a program with an incorrect format.

---########################


Can anybody suggest me what's causing this error?

My OS is Windows XP with sp1
Visual studing 2003

any lead would be highly appreciated.

???
cheers
raxit
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: System.BadImageFormatException error
Reply #1 - Nov 20th, 2006 at 6:57am
Print Post  
Hi Raxit,

That exception is supposed to happen when loading an assembly. E.g. the .NET loader will throw it if the dll file is corrupted, or if you try to load a .NET 2 assembly into a .NET 1 application.

Is there some class that is accessed for the first time when the form is closed? The assembly where that class is declared might be the corrupted one.

Cheers,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint