Ok, so I have a Windows service that has a FileSystemWatcher that monitors the output folder for some Visual FoxPro database files. And he uses the VFPOLEDB.1 provider to read these files. I canβt get away from this provider because it is used in production.
However, I never had to support this application until why I did not set up a development window for it. Here is my environment:
- Windows 7 x64
- Visual studio 2005
- Windows.NET 2.0 Service
therefore, when I first started getting an error, I realized that I simply did not have a provider, and I was right. So, I downloaded and installed here .
Then I again sent the files to the folder, but got the same error.
I realized that this is an x64 machine, I might have problems getting it, as it probably fell in SysWOW64 , and it was as I expected, so I ran this command:
regsvr32 "C:\Windows\SysWOW64\mscomct2.ocx"
and he said that he was successfully registered (which means nothing lol), but I reset the files again - with the same error.
I have not rebooted my machine yet, and I can, if someone has a good reason, that the problem is, but generally speaking, if the assembly is correctly registered with regsvr32 , this is not necessary. I worked with tons of COM objects and should never reboot to get to the object while I registered it.
Does anyone know another step I need to take to register this thing?
Mike perrenoud
source share