Skip to main content

Hi!


I am running K2 blackpearl on a Windows Server 2008 R2 (x64) machine. I am using the DynamicWebService Service found here on the blackmarket and it deploys OK. I can create a Service Instance and enumerate web service methods correctly (currently I am testing the service against http://www.w3schools.com/webservices/tempconvert.asmx).


However, when I test the "CelsiusToFahrenheit" method in the SmartObject Service Tester, it fails with the message:


"Could not load file or assembly 'file://C:Program Files (x86)K2 blackpearlServiceBrokerDynamicWebService.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.


Source: SourceCode.HostServerLib"


This is usually caused by building x64 on a x86 platform or vice versa. I have tried build both x86 and x64 to no avail.


Does anyone have any experience with this?

I found out that I had to restart the K2 blackpearl server whenever I redeployed the assembly. This fixed the problem.


Reply