Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC connection Vs Oracle
Message
De
29/09/2015 04:21:45
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
29/09/2015 03:10:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01625162
Message ID:
01625171
Vues:
51
>actually i send this one
>
>Driver={Microsoft ODBC for Oracle};Port=1521;Server=hostip;Service_name=servicename.loc;Uid=username;Pwd=mypassword
>
>but i get the error : 1526 : connectivity error ..connectattr failed

The usual trick is to do it manually, from the ODBC entry in Control panel / administrative tools. Create a file DSN (the other two are just fancy names which mean to store the string in the registry or somewhere else), with the help of the driver itself. Find the .dsn file and open it in a text editor. Remove the first line, which is enclosed in brackets, and replace line breaks with semicolons. Use that string from VFP.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform