3

I just upgraded from windows 7 64 to Windows 10 64. Now I am having problems with the Visual FoxPro driver. I am using the 32-bit ODBC manager (C:\Windows\SysWOW64\odbcad32.exe). When I try to add or edit a Visual fox pro source I get the following error:

enter image description here

I checked for C:\Windows\system32\vfpodbc.dll and it does exist. Why am I getting this error and how do I correct it?

Linger
  • 3,332
  • 10
  • 38
  • 47

2 Answers2

2

To check :

  • Verify the registry at HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI, subkey of your driver, if the listed files do exist.
    For a 32-bit program the folder C:\Windows\System32 is inaccessible and is automatically substituted to C:\Windows\SysWOW64. So a path to System32 should be replaced with SysWOW64.
  • You should have installed the FoxPro 9.0 Service Pack 2.0 and the Hotfixes (actually only the third one in the list)
  • You may need to download and install the MSXML 4.0 Core package

The problem could also be an incompatibility with Internet Explorer 11 or Spartan.
Have you been using IE11 when you were still on Windows 7?

If no solution is found, there is always the option of downgrading back to Windows 7.

Glorfindel
  • 4,158
harrymc
  • 498,455
0

In case everything else fails, like it just happened to me today, try installing VFP 9 Service Pack 2 Runtime, available at http://www.foxpert.com/download/runtime.html and https://github.com/VFPX/VFPRuntimeInstallers

The reasoning is that this installer includes both VFPOLEB and VFPODBC drivers, and it successfully installed on a Windows 7 machine where all the other standalone installers failed.

Make sure you mark ODBC and OLE DB option on Runtime Files setup section.

enter image description here

Older VFPODBC.MSI is available at http://web.sisgarbe.pt/sispub/download/obter.php?produto=VFPODBC

Julio Nobre
  • 405
  • 5
  • 17