Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linked server problems connecting to Merant database

Status
Not open for further replies.

tfstom

Programmer
Sep 28, 2002
190
US
have tried all kinds of things to set up a Linked Server to our Merant database and can't seem to get it to work. I am on a Win2K server using SQL2000.

I used the following to try to set it up:

Code:
sp_addlinkedserver @server = 'tomsvantage',
@srvproduct = '',
@provider = 'MSDASQL',
@datasrc = 'vantage'
**********************************************

This seemed to work OK. "vantage" is an ODBC dsn. It works OK with DTC.

I then try to set up the login as:

Code:
exec sp_addlinkedsrvlogin 'tomsvantage',FALSE, 'odbcvdw','pass'

I get 3 0's and a 1 as a response from query and it seems to be in the sysxlogins table.

I can't seem to read the tables. I use the following statement in both Query and when trying to set up a stored procedure.

Code:
select * from openquery(tomsVantage,'select * from GLACCT')

I get the following error

Code:
Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSDASQL' reported an error. 
[OLE/DB provider returned message: Specified driver could not be loaded due to system error 126 (MERANT 3.60 32-BIT Progress SQL92 v9.1D).]
OLE DB error trace [OLE/DB Provider 'MSDASQL' IDBInitialize::Initialize returned 0x80004005: ].

I don't understand why I have a problem here as the DTC works OK with this DSN. Am I setting something up incorrectly?

I have been trying to get this working for days and am under the gun.

Thanks,

Tom.
 
Do the MERANT docs say anything about error 126? When you ran the DTC package were you using the same NT account that the SQL Server logs in as?

What kind of DSN entry is it?

Denny

--Anything is possible. All it takes is a little research. (Me)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top