Installing Database Packages fails on 64bit Vista

atothatoth Posts: 10
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?

Adam

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    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".
Sign In or Register to comment.