vb.net - No default driver specified -
i trying connect oracle 9i database using below vb code:
strconnection = "driver={microsoft odbc oracle};server=servername;uid=userid;pwd=password" connect = new adodb.connection connect.open(strconnection)
the last line throws me below error:
[microsoft][odbc driver manager] data source name not found , no default driver specified
the vb code working fine , able connect dev database in dev server. same script not working in uat server. tns entries fine. both servers of windows server 2008 - 32 bit.
when checked drivers tab in odbc data source administrator, dev server has below entry:
microsoft odbc oracle - 6.00.6001.18000 - microsoft corporation - msorcl32.dll - date
whereas uat server has below entry: microsoft odbc oracle -
the driver microsoft odbc oracle listed in drivers tab of uat server not have version & dll file details. driver not installed properly? if yes, how re install it? please resolve issue.
thank responses.
my tech lead corrected issue installing odbc driver , making changes registry.
@wernfried domscheit - trying use existing vb script due time constraint. though old, not intended make changes it.
regards, tamil
Comments
Post a Comment