mauropolo
asked on
the vfp odbc ole db provider give me an error when i run in windows seven
microsoft visual fox 9.0 sp2
ASKER
Thank's for answer. First of all, the software that use this ODBC connection:
CONNECT TO [Provider=VFPOLEDB.1;Data Source=\\ACESERVER2\FIDELI TY\FIDELIT Y\DATA\FID ELITY.DBC; Mode=Share Deny None;Extended Properties="";User ID="";Mask Password=False;Cache Authentication=False;Encry pt Password=False;Collating Sequence=GENERAL;DSN=""];
is Qlik and it run well without change and error in windows xp.
Executing the same script in windows 7 give me this error 'OLE DB connection failed'.
CONNECT TO [Provider=VFPOLEDB.1;Data Source=\\ACESERVER2\FIDELI
is Qlik and it run well without change and error in windows xp.
Executing the same script in windows 7 give me this error 'OLE DB connection failed'.
ASKER
...
i forget:
Windows 7 professional 64 bit
i forget:
Windows 7 professional 64 bit
VFP OLE DB provider is 32 bit application and it cannot be accessed from 64 bity applications. I don't know Qlik at all, so I cannot say if this is the reason.
I also suppose the \\ACESERVER2 is your computer having W7 as operating system installed, so you are accessing local data.
If the \\ACESERVER2 is a remote machine then it must allow access for user under which the VFP OLE DB is running on your local machine which is trying to connect. VFP OLE DB must be installed on local computer in this case.
I also suppose the \\ACESERVER2 is your computer having W7 as operating system installed, so you are accessing local data.
If the \\ACESERVER2 is a remote machine then it must allow access for user under which the VFP OLE DB is running on your local machine which is trying to connect. VFP OLE DB must be installed on local computer in this case.
ASKER
ACESERVER2 is a Windows 2003 server where resides the VFP database FIDELITY. The client PC where i run the script work with Windows 7 pro 64 bit.
OK. You should also answer if the VFP OLE DB provider is installed on the client PC and if the client software (not OS) is 32 bit or 64 bit.
64 bit software cannot use 32 bit OLE DB providers.
64 bit software cannot use 32 bit OLE DB providers.
ASKER
Both of software, VFP OLE DB and Qlik is 32bit. In the same Qlik script there is another ODBC connection that work fine. I've t
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This solution were published here at EE (https://www.experts-exchange.com/questions/25017170/How-to-Connect-Foxpro-with-Remote-System-using-system-DSN-in-php.html) and it should work for you :
First Please create System dsn with remote system db path
after that.,
use this connectionstring
Provider=VFPOLEDB.1;DSN=** *******(yo ur DSN);Mode=ReadWrite;Passwo rd="";Coll ating Sequence=MACHINE;
First Please create System dsn with remote system db path
after that.,
use this connectionstring
Provider=VFPOLEDB.1;DSN=**
Sorry, it seems you found it earlier...
So, please select your post ID:26292769 as the accepted solution.
BTW, the product name does not contain the "ODBC" part. If yes then you should clarify what ODBC are you using.