Web Connection
After MS Updates, Error DotNetBridge
Gravatar is a globally recognized avatar based on your email address. After MS Updates, Error DotNetBridge
  Harvey Mushman
  Jun 14, 2017 @ 07:12am

My tablet is set to install MS updates automatically which occurred yesterday. On the next starting of VFP followed by WC and then my application, I received the following error messages. I responded No to the first message. After getting the second message, I shut down VFP and tried again. No error on the second startup but it leaves me wondering if I'm sitting on a error waiting to go off...?

After clicking No, I got a second message from WC as follows:

My application seems to be operating correctly.

Gravatar is a globally recognized avatar based on your email address. re: After MS Updates, Error DotNetBridge
  Rick Strahl
  Harvey Mushman
  Jun 14, 2017 @ 11:15am

The first error doesn't appear to come from wwDotnetBridge but from FoxPro. Where does that hit - not sure what VFP 9 would be doing with .NET other than some of the support tools.

It does appear that .NET is not installed or at least not the right version. Make sure whatever you use wwDotnetBridge for you use Version 4.0.

In the latest version (introduced in v6.12) do this at the very start of your application:


In older versions:


For a Web Connection application put that code into the yourAppServer::OnLoad().

This initializes the .NET runtime used in your application explicitly to a specific version - 4.x in this case.

FWIW, WWWC switched to .NET 4.0 by default in Web Connection 6.10 and later - previous versions defaulted to .NET 2.0 and .NET 2.0 is not installed by default on Windows 10 (or 8 I think). I suspect that's why your code fails. So perhaps something that used .NET 2 got uninstalled on your system by the update and the runtime with it.

+++ Rick ---

© 1996-2018