System.BadImageFormatException in VS2005

Brian QuigleyBrian Quigley Posts: 8
edited December 12, 2006 2:48AM in SQL Packager Previous Versions
We have an app that is trying to use the SQLDataCompare, SQLCompare, and SQLPackager APIs. When compiling the app we get the following errors:

Exception occurred creating type 'RedGate.SQLDataCompare.Engine.ComparisonSession, RedGate.SQLDataCompare.Engine, Version=5.2.0.40, Culture=neutral, PublicKeyToken=7f465a1c156d4d57' System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)

Exception occurred creating type 'RedGate.SQLCompare.Engine.Database, RedGate.SQLCompare.Engine, Version=5.2.0.32, Culture=neutral, PublicKeyToken=7f465a1c156d4d57' System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)

Exception occurred creating type 'RedGate.SQLPackager.Engine.PackagerEngine, RedGate.SQLPackager.Engine, Version=5.2.0.49, Culture=neutral, PublicKeyToken=7f465a1c156d4d57' System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)


Here is what my license file looks like:

RedGate.SQLDataCompare.Engine.ComparisonSession, RedGate.SQLDataCompare.Engine
RedGate.SQLCompare.Engine.Database, RedGate.SQLCompare.Engine
RedGate.SQLPackager.Engine.PackagerEngine, RedGate.SQLPackager.Engine


What could be causing these errors?

Comments

Sign In or Register to comment.