MS SQL 2005 to Sybase via Linked server
- From: "Sam" <sam@xxxxxxxxxx>
- Date: Fri, 18 Aug 2006 16:40:47 GMT
I'm having an issue setting up a linked server connection on a new SQL 2005
box. The connection is working on the existing sql 2000 box.
I'm using the Merant 3.7 32bit OCBC driver to connection to a Unix hosted
Sybase database.
I first built a System DSN in the "ODBC Data Source Administrator" in
Control Panel. I enter all the sybase server info and use the "Test
Connect" optinon in the Merant ODBC driver setup and it works.
I go to SQL 2005 and add the linked server with the "OLEDB Provider for
ODBC" provider. I add the product name "Sybase", the Data Source (the DSN
name), and the login password.
When I try a test query it just hangs. I get no error message, just
"Executing Query" in the status bar.
I look at sysprocesses and I can see an OLEDB job to the linked server and
the waittime just keeps increasing. I have top stop/start sql to clear it.
I've let it run for 10 minutes.
I do the exact same test query on the existing 2000 box and it works in 2
seconds.
I tried re-building the linked server using the ODBC "Provider String"
rather than the "Data Source" DSN name and I get the same results.
"DRIVER={MERANT 3.7 32-BIT Sybase
ASE};NLN=Winsock;NA=xxx.xxx.xxx.xxx,xxxx;DB=master}"
In one of my rebuild attempts I mistyped the password and I actually did get
an error message from the Merant Driver through the OLEDB provider telling
me "login failed, check login/password". So in that case at least I know
the connection reached the Sybase server.
But apparently with the correct login/password, the connection keeps hanging
for an unknown reason.
Any known compatablilty problems or anything else different on 2005?
Thanks.
.
- Prev by Date: Sybase Connection String
- Next by Date: Re: Sybase Connection String
- Previous by thread: Sybase Connection String
- Next by thread: Re: ODBC security problem
- Index(es):
Relevant Pages
|
Loading