Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC connection Vs Oracle
Message
From
29/09/2015 04:21:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
29/09/2015 03:10:47
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01625162
Message ID:
01625171
Views:
52
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform