ODBC.INI file error
Moderators: chulett, rschirm, roy
ODBC.INI file error
Hello,
I'm able to connect sql server db in dev but when i try to connect to same db from QA env the example script in branded_odbc is unable to connect to dsn.And the interesting thing here is , i able to connect to different dsn on same database in QA.
i didnt find any diff bwten two odbc.ini file's.
And ideas:
Here is the odbc.ini file for DEV and QA:
DEV:
[TransferDatabase]
Driver=/apps/ascential/dev/ds/Ascential/DataStage/branded_odbc/lib/VMmsss20.so
Description=DataDirect SQL Server Wire Protocol
Database=TransferDatabase
LogonID=ABC
Password=abc
Address=10.2.210.96,1155
QuotedId=No
AnsiNPW=No
.....................................................................................................
QA :
[TransferDatabase]
Driver=/apps/ascential/tst/ds/Ascential/DataStage/branded_odbc/lib/VMmsss20.so
Description=DataDirect SQL Server Wire Protocol
Database=TransferDatabase
LogonID=ABC
Password=abc
Address=10.2.210.96,1155
QuotedId=No
AnsiNPW=No
The following error is thrown by example script :
SQLSTATE = IM002
NATIVE ERROR = 0
MSG = [DataDirect][ODBC lib] Data source name not found and no default driver specified
SQLConnect: Retrying Connect.
SQLSTATE = IM002
NATIVE ERROR = 0
MSG = [DataDirect][ODBC lib] Data source name not found and no default driver specified
SQLConnect: Retrying Connect.
SQLSTATE = IM002
NATIVE ERROR = 0
MSG = [DataDirect][ODBC lib] Data source name not found and no default driver specified
Thanks,
Har
I'm able to connect sql server db in dev but when i try to connect to same db from QA env the example script in branded_odbc is unable to connect to dsn.And the interesting thing here is , i able to connect to different dsn on same database in QA.
i didnt find any diff bwten two odbc.ini file's.
And ideas:
Here is the odbc.ini file for DEV and QA:
DEV:
[TransferDatabase]
Driver=/apps/ascential/dev/ds/Ascential/DataStage/branded_odbc/lib/VMmsss20.so
Description=DataDirect SQL Server Wire Protocol
Database=TransferDatabase
LogonID=ABC
Password=abc
Address=10.2.210.96,1155
QuotedId=No
AnsiNPW=No
.....................................................................................................
QA :
[TransferDatabase]
Driver=/apps/ascential/tst/ds/Ascential/DataStage/branded_odbc/lib/VMmsss20.so
Description=DataDirect SQL Server Wire Protocol
Database=TransferDatabase
LogonID=ABC
Password=abc
Address=10.2.210.96,1155
QuotedId=No
AnsiNPW=No
The following error is thrown by example script :
SQLSTATE = IM002
NATIVE ERROR = 0
MSG = [DataDirect][ODBC lib] Data source name not found and no default driver specified
SQLConnect: Retrying Connect.
SQLSTATE = IM002
NATIVE ERROR = 0
MSG = [DataDirect][ODBC lib] Data source name not found and no default driver specified
SQLConnect: Retrying Connect.
SQLSTATE = IM002
NATIVE ERROR = 0
MSG = [DataDirect][ODBC lib] Data source name not found and no default driver specified
Thanks,
Har
Har
I'm trying to test connection form branded_odbc example script.
I check .odbc.ini file and their are no spaces in it.
And i comapre dev and tst enironment .odbc.ini file with diff command and i didnt find any difference.Its so strange for me..
And from tst env i'm able to connect three database on same box and except this one.
I check .odbc.ini file and their are no spaces in it.
And i comapre dev and tst enironment .odbc.ini file with diff command and i didnt find any difference.Its so strange for me..
And from tst env i'm able to connect three database on same box and except this one.
Har
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: