Hi,
I am having a problem to run a WCF service in Window 2008 hpc server cluster. This service is written in c++ and is a 32bit application. I can successfully run this service in a selfhost method. Both release build and debug build have the same error below in window 2008 hpc cluster. Any suggestions is highly appreciated.
Microsoft.Hpc.HpcServiceHosting Error: 0 : Service Host Job Id = 60, Task System Id = 197, Running on Cluster01
[Main]: Failed to start the service WCFServer.
DateTime=2009-07-30T21:53:13.5442056Z
Microsoft.Hpc.HpcServiceHosting Error: 0 : Service Host Job Id = 60, Task System Id = 197, Running on Cluster01
System.BadImageFormatException: Could not load file or assembly 'file:///c:\Services\WCFServer.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'file:///c:\Services\WCFServer.dll'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Microsoft.Hpc.CcpServiceHosting.CcpServiceHostWrapper.Open()
at Microsoft.Hpc.CcpServiceHosting.CcpServiceHostWrapper.Open()
at Microsoft.Hpc.CcpServiceHosting.Program.Main(String[] args)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
DateTime=2009-07-30T21:53:13.5442056Z