Installing Database Packages fails on 64bit Vista

Automate and integrate using the SQL comparison API

Installing Database Packages fails on 64bit Vista

Postby atoth » Thu Jun 04, 2009 12:21 pm

If you attempt to install the Sample Databases from the SDK 8 getting started application, you get an error :

"Could not load ..SubPackage.WidgetDev.exe' or one of its dependencies. An attempt was made to load a program with an incorrect format."

I guess your .net assembly has chosen to run in 64bit but is referencing a 32bit dll?

Posts: 6
Joined: Fri Feb 24, 2006 3:17 pm

Postby Brian Donahue » Thu Jun 04, 2009 4:26 pm

Hi Adam,

Most of the time, you can compile an SDK project as 64-bit or "any CPU". There is only one exception I know of, and that is when the RedGate.BackupReader.dll is referenced in the project. That dll is x86 only and will result in an invalid format exception if you reference it inside any project being compiled for "any CPU".
Brian Donahue
Posts: 6590
Joined: Mon Aug 23, 2004 9:48 am

Return to SQL Comparison SDK Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests