TV-Server Version: SVN Snapshot 07-25-2007--01-00-Rev15317
MediaPortal Version: 0.2.3 RC1, Snapshot Rev15317
Windows Version: Windows Vista x64 (!)
Error Description:
After installing the latest snapshot (RC1 alone works!), neither Media Portal nor the configuration utility can be launched. This is because of a BadImageFormatException that is issued by the runtime because of the target platform settings. This problem will only occur on x64 OSes.
Cause:
There is at least one Assembly that is set to target the x86 architecture (possibly because of a native DLL it references, or because it wants to use a database engine that does not exist for x64, or because of no reason at all ).
Because the main programs (mediaPortal.exe and configuration.exe) are set to target 'any CPU', the runtime will JIT-compile them to x64. When the program than tries to load the x86 targeted DLL, the runtime issues the exception.
Fix:
Please be sure to set the target CPU architecture in the main assemblies (.exe) to x86 whenever there is one DLL that must be set to this CPU target.
Thanks,
Michael
MediaPortal Version: 0.2.3 RC1, Snapshot Rev15317
Windows Version: Windows Vista x64 (!)
Error Description:
After installing the latest snapshot (RC1 alone works!), neither Media Portal nor the configuration utility can be launched. This is because of a BadImageFormatException that is issued by the runtime because of the target platform settings. This problem will only occur on x64 OSes.
Cause:
There is at least one Assembly that is set to target the x86 architecture (possibly because of a native DLL it references, or because it wants to use a database engine that does not exist for x64, or because of no reason at all ).
Because the main programs (mediaPortal.exe and configuration.exe) are set to target 'any CPU', the runtime will JIT-compile them to x64. When the program than tries to load the x86 targeted DLL, the runtime issues the exception.
Fix:
Please be sure to set the target CPU architecture in the main assemblies (.exe) to x86 whenever there is one DLL that must be set to this CPU target.
Thanks,
Michael