We are getting the error “Unable to load CLR Instance Error”.
The files are not blocked. Test prog wwDotnetBridge shows .NET Version 4.8 On the developper machine it runs fine. On a 2012 R2 Terminal Server not.
What else can we check / do?
Have you checked Unable to load CLR Instance Error?
yes: The files are not blocked. Test prog wwDotnetBridge shows .NET Version 4.8
Another user with the same problem found that a computer restart fixed it.
If that doesn't help, try Googling this: "Unable to load CLR Instance Error site:west-wind.com"
What is OS on the target machine that this is running on?
If it's a pre-Windows 7 or Windows server 2012 machine you may not have .NET 4.x installed. Also the network loading config setting may be required RDP access.
+++ Rick ---
Thanks for the hints. It is not a problem of the target machine, it is our application.
I found out that the creation "lnDispHandle = ClrCreateInstanceFrom(FULLPATH("wwDotNetBridge.dll"),"Westwind.WebConnection.wwDotNetBridge",@lcError,@lnSize)" in (wwDotnetBridge.prg) in our application fails. FULLPATH("wwDotNetBridge.dll") points to the temporary folder - there is no dll.
I changed that path to the application folder and now it is working.
If you can explain wy, it would be interesting. In any case we got a solution.