Showing posts with label via. Show all posts
Showing posts with label via. Show all posts

Wednesday, March 7, 2012

error with sp_tables_ex

Hi all,

I am using a sp for show the external tables in a linked server ABC which via Ole DB for Visual Foxpro.
sp_tables_ex ABC
It returns error,
Msg 7399, Level 16, State 1, Procedure sp_tables_ex, Line 41
The OLE DB provider "SQL Server" for linked server "(null)" reported an error. The provider reported an unexpected catastrophic failure.
Msg 7311, Level 16, State 2, Procedure sp_tables_ex, Line 41
Cannot obtain the schema rowset "DBSCHEMA_TABLES" for OLE DB provider "SQL Server" for linked server "(null)". The provider supports the interface, but returns a failure code when it is used.

When I used the same command to other linked server(with ole DB VFP also but with different path). And I tried 'select * from openquery(ABC, 'select * from product')'. Both work fine.

Kindly advise. Thanks in advance.

Hi Stephanie,

Are you by any chance running into the problem described in this KB article:

FIX: OLE DB Provider Improperly Enumerates DBSCHEMA_TABLES
http://support.microsoft.com/kb/314888

HTH,

Jivko Dobrev - MSFT
--
This posting is provided "AS IS" with no warranties, and confers no rights.

Friday, February 17, 2012

Error while i register from Enterprise manager

Hello,
Although i have a login account in the SQL server and also i am able
to connect via my application, but somehow when i try to register the
server from the enterprise manager i get the following message
SQL Server registration failed because of the connection failure
displayed below. Do you wish to Register anyway ?
[SQL-DMO]Code execution exception: exception_access_violation"
I am stuck up..
Can anyone suggest me a solution for this problem.
Kind Regards,
Amit KumarThere is an exception logged in the SQL Server errorlog. There probably
will not be much there to help you resolve the problem but Microsoft
support can probably decipher it.
Rand
This posting is provided "as is" with no warranties and confers no rights.