TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Daniel K
NA
16
2.1k
C# - ODBC connection failed
May 31 2020 11:45 AM
Hello,
I have an problem with an ODBC connection and C# scripting, when opening an ODBC connection.
The error message is: Specified driver could not be loaded due to system error 1114: A dynamic link library (DLL) initialization routine failed. (Oracle in instantclient_12_32bit, C:\Oracle\instantclient_12_32bit\SQORA32.DLL) driver could not be found.
The ORACLE_HOME and Path environment variables are set with correct path "C:\Oracle\instantclient_12_32bit". But the dll is in the directory as named.
Futher Information: the driver is configured with the following attributes: dsn = "meddb", tns service name = "ek_nt_ed", userid = "dp". The test for the connection works also. The connection string I am using is the following: connstring = "dsn=meddb;server=ek_nt_ed;uid=dp;pwd=XXX;".
Am I doing anything wrong? Thanks in advance!
Reply
Answers (
3
)
How to Publish the Pre and Post deployment script from vs 15
Search two words in datagrid C#