I have a VFP app that connects to a webservice that recently disabled access using TLS 1.0. Since I see on the forum that the newer versions of wwWebServiceGenerator / wwDotNetBridge now use TLS 1.2 by default, I just purchased a new license and installed version 1.62. I am getting the following error when trying to run the new generated interfaceadapterproxy.prg:
Unable to load wwDotNetBridge: Unable to load Clr Instance. The assembly is built by a runtime newer than the currently loaded runtime, and cannot be loaded.
Error=; 1098 Program: init Line*: 139
I suspect that it's trying to load an incompatible wwDotNetBridge.dll. What version should I be using?
![](https://weblog.west-wind.com/images/Sponsors/Websurge-Display.png)
I have a VFP app that connects to a webservice that recently disabled access using TLS 1.0. Since I see on the forum that the newer versions of wwWebServiceGenerator / wwDotNetBridge now use TLS 1.2 by default, I just purchased a new license and installed version 1.62. I am getting the following error when trying to run the new generated interfaceadapterproxy.prg:
Unable to load wwDotNetBridge: Unable to load Clr Instance. The assembly is built by a runtime newer than the currently loaded runtime, and cannot be loaded.
Error=; 1098 Program: init Line*: 139
I suspect that it's trying to load an incompatible wwDotNetBridge.dll. What version should I be using?
OK, I discovered that I now need to pass [V4] to
CreateObject([InterfaceAdapterProxy],[V4])
This works to load wwDotNetBridge
Continuing to work through discovering the other changes that my old code needs to contend with.
Hmmm... V4 should be the default, unless there's something else loading a different version of the .NET runtime into the FoxPro process before.
+++ Rick ---
In the older InternetAdapterProxy I used up to upgrading this week, there was no version# parameter.
![](https://weblog.west-wind.com/images/Sponsors/MarkdownMonster-Display.png)
It almost seems like you're using an older version. Can you check where you are loading wwDotnetBridge from and what the default for the version number is? It should be 4.0. Also check the generated class - it might have generated a different default version for some reason?
+++ Rick ---