Hi,
I have some weired thing that is going on..I created a new odbc for sqlsever in the .odbc.ini and follwoing thing on my project folder but it is not working..the same connection from development is working there is no firewall or any thing but it gives me that login failed..but the same same login works from the database and my another datastage machine...
this is the erroe that i get...
DSR.MetaGeta(GET.DSNINFO)(SQLConnect('SQL-1','dwuser')): BCI Error:
SQLSTATE=0,CODE=4060,[DataStage][SQL Client][ODBC][DataDirect][ODBC SQL Server Driver][SQL Server]Cannot open database requested in login 'Operations
'. Login fails.
but i do login with the same user in my development datastage and from my databse...Pls help me out...
odbc configuration not working
Moderators: chulett, rschirm, roy
You want me do on my Database side..If it is in Datastage how will you the trace of odbc..Is there any way of checking the odbc in datastage other than..client..lstsaur wrote:Since you said "with the same login id and works from another machine", I will suggest the best way to debug this problem is to put the trace on the ODBC. Good luck.
RK
Anyways i found out the error was when my admin put in the file from windows to unix he did not mad it as acii so it put ^M at the end so it did access that so when i edited it and asked to re do it it works fine...lstsaur wrote:RK,
I meant put Trace=1 and TraceFile=/tmp/odbctrace.out in your .odbc.ini under the [ODBC] section. Run your odbc job or odbc import from your non-working client; you then view the odbctrace.out file for details why Login fails.
Thanks for your help though
RK