N
notis.stamos
Hi all,
I am trying to port an application developed with VS2003 to VS2005. The
project builds successfuly but when I run it, it throws a
BadImageFormatException in the following line of code in the
constructor of my main form :
....
if
(!System.Messaging.MessageQueue.Exists(@".\Private$\CentralInQueue"))
....
The exception window title is:
BadImageFormatException was unhandled.
The exception message is:
An attempt was made to load a program with an incorrect format.
(Exception from HRESULT: 0x8007000B)
The version of the application that was compiled using VS2003 still
runs on the same computer.
I am using VS2005 - Version 8.0.50727.42 and .NET version 2.0.50727.
Any help would be greatly appreciated.
Thanks,
Notis.
I am trying to port an application developed with VS2003 to VS2005. The
project builds successfuly but when I run it, it throws a
BadImageFormatException in the following line of code in the
constructor of my main form :
....
if
(!System.Messaging.MessageQueue.Exists(@".\Private$\CentralInQueue"))
....
The exception window title is:
BadImageFormatException was unhandled.
The exception message is:
An attempt was made to load a program with an incorrect format.
(Exception from HRESULT: 0x8007000B)
The version of the application that was compiled using VS2003 still
runs on the same computer.
I am using VS2005 - Version 8.0.50727.42 and .NET version 2.0.50727.
Any help would be greatly appreciated.
Thanks,
Notis.