SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Linked Server Error: Cannot obtain the schema rowset "DBSCHEMA_CATALOGS"


Linked Server Error: Cannot obtain the schema rowset "DBSCHEMA_CATALOGS"

Author
Message
Joseph Miano
Joseph Miano
Valued Member
Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)

Group: General Forum Members
Points: 55 Visits: 93

I am trying to create a linked server using a Teradata ODBC DSN in SQL 2005. When I create the linked server, I recieve the following error trying to connect:

The OLE DB provider "SQL Server" for linked server "(null)" reported an error. One or more arguments were reported invalid by the provider.
Cannot obtain the schema rowset "DBSCHEMA_CATALOGS" for OLE DB provider "SQL Server" for linked server "(null)". The provider supports the interface, but returns a failure code when it is used. (Microsoft SQL Server, Error: 7399)

I have a similar linked server in SQL 2000, set up exactly the same with no connection issue.

I've read an article posted by someone having the same issue using a DB2 DSN and they mentioned it is a bug in SQL 2005.

Anyone know anything about or seen this issue?

Thanks!


Daryl AZ
Daryl AZ
Ten Centuries
Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)

Group: General Forum Members
Points: 1396 Visits: 698
This may or may not be relevant. But...

Glancing through the error message it appears your are attempting to link to server "(null)", this is in the error message twice.

Are you adding the linked server through SSMS or script?
SSMS - [Server Objects] - [Linked Servers] - [Providers]

good luck
Sugesh Kumar
Sugesh Kumar
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17855 Visits: 358
You have created an ODBC then you do you use an OLEDB provider you can create linked servers with ODBC connections.

Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
Joseph Miano
Joseph Miano
Valued Member
Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)

Group: General Forum Members
Points: 55 Visits: 93

Yes. I have created the ODBC DSN and tested the connection to the Teradata server using a .udl file. So the connectivity works.

When I create the linked server in SSMS, I receive this error:

The OLE DB provider "SQL Server" for linked server "(null)" reported an error. One or more arguments were reported invalid by the provider.
Cannot obtain the schema rowset "DBSCHEMA_CATALOGS" for OLE DB provider "SQL Server" for linked server "(null)". The provider supports the interface, but returns a failure code when it is used. (Microsoft SQL Server, Error: 7399)


Neil Meyer
Neil Meyer
Valued Member
Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)

Group: General Forum Members
Points: 52 Visits: 31

I am having the same problem.....

creating linked server, I specify:

provider: Microsoft OLE DB provider for ODBC drivers
product name: ODBC system DSN
Data Source: ODBC system DSN

I do not specify anything else for provider string, location or catalogue; for security options I identify valid credentials and then create the link. the test connection to the linked server succeeds but I'm unable to open the catalog and see the tables -- this is when I get the error message reported by other users in this thread


sqlindia
sqlindia
SSC-Addicted
SSC-Addicted (417 reputation)SSC-Addicted (417 reputation)SSC-Addicted (417 reputation)SSC-Addicted (417 reputation)SSC-Addicted (417 reputation)SSC-Addicted (417 reputation)SSC-Addicted (417 reputation)SSC-Addicted (417 reputation)

Group: General Forum Members
Points: 417 Visits: 359
Hi Folks



I have same problem but with strange instance that I ave created 2 LInked servers with MYSQL server using 2 different databases. Created ODBC System DSNs for them. One of Linked server working fine and show catalogs. But another server giving this same error.



The OLE DB provider "SQL Server" for linked server "(null)" reported an error. The provider reported an unexpected catastrophic failure.

Cannot obtain the schema rowset "DBSCHEMA_CATALOGS" for OLE DB provider "SQL Server" for linked server "(null)". The provider supports the interface, but returns a failure code when it is used. (Microsoft SQL Server, Error: 7399)




Please help....

Thanks in Advance

SqlIndia
Kevin O'H
Kevin O'H
SSC-Enthusiastic
SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)

Group: General Forum Members
Points: 100 Visits: 31
We are having a similar problem. Trying to create a linked server in SQL2000, to an Oracle server, using the MSDAORA.DLL as the OLE DB provider.

Here is our error when we try to connect to the linked server:

OLE DB provider 'MSDAORA' reported an error. (Microsoft SQL Server, Error: 7399)

Thanks in advance for any ideas.
Sugesh Kumar
Sugesh Kumar
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17855 Visits: 358
Is oracle clint installed in the sql server machine. if so can yu post us the exact error message that you get.

Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
Kevin O'H
Kevin O'H
SSC-Enthusiastic
SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)

Group: General Forum Members
Points: 100 Visits: 31
Yes, we have the Oracle 9i client installed on the SQL Server 2000 machine.

Here is the error:

TITLE: Microsoft SQL Server Management Studio
------------------------------

Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

OLE DB provider 'MSDAORA' reported an error. (Microsoft SQL Server, Error: 7399)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=08.00.2040&EvtSrc=MSSQLServer&EvtID=7399&LinkId=20476

Thanks in advance for any insight you might have.
cheers,
Kevin
Nebojsa Ilic
Nebojsa Ilic
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1151 Visits: 290
Have you modified client registry? If not check BOL , "linked servers, access Oracle database instance".
What's about TNS names, is there an entry for oracle server you are trying to link?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search