Linked Server Query Fails



I am working with a linked server (using MS OLE DB Provider for ODBC Drivers)
performing select queries from the ODBC DB and inserting the results into
tables in SQL Server.

Suddenly this is stopped working (everything was fine, but then....). Now I
can sometimes get a result from a very small table in the ODBC DB, but
queries are always failing against the larger tables in the linked server and
in many cases the queries of the small tables generate the same error
message, which is as follows:

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSDASQL' reported an error.
[OLE/DB provider returned message: [QODBC] Error]
OLE DB error trace [OLE/DB Provider 'MSDASQL' IRowset::GetNextRows returned
0x80004005: ].

I have tried to troubleshoot this by setting up the SQL Server DB and the
linked ODBC DB in two completely separate environments, but I am getting the
same result...the error message above. Since these queries were working
flawlessly before, and the problem does not appear to be specific to the
environment (machine, network, OS, etc.), I am wondering if there has been a
security update that may be playing havoc???

environment 1 - Windows server 2003, SQL Server 2000 SP4

environment 2 - Win 2k server, SQL Server 2000 SP 3a
--
Haiden Turner
Winged Disc Technologies, LLC
Dallas, Texas
.



Relevant Pages

  • OLE DB Provider for ODBC and Oracle
    ... I created a linked server for MS SQL Server 2005 Express to an Oracle ... database using the OLE DB Provider for ODBC. ... I'm using the OLE DB Provider for ODBC instead of the Oracle OLE DB ...
    (comp.databases.ms-sqlserver)
  • Re: Linked server to as400 - for the love of god please help.
    ... > There is an ODBC DSN on the server machine. ... Creating a linked server using ... > OLE DB provider 'MSDASQL' reported an error. ... > So i instead create a linked server using IBM's own OLEDB provider. ...
    (microsoft.public.sqlserver.server)
  • Linked server for ODBC data source
    ... I have an Alpha box running open VMS which has an ODBC client from easysoft ... set up as a system dsn in ODBC data sources. ... How can I set this up as a linked server in SQL 2k? ... "Microsoft OLE DB Provider for ODBC Drivers" with the data source as ...
    (microsoft.public.sqlserver.connect)
  • Re: Linked server to as400 - for the love of god please help.
    ... You are SO tired of IBM. ... >> There is an ODBC DSN on the server machine. ... Creating a linked server ... >> So i instead create a linked server using IBM's own OLEDB provider. ...
    (microsoft.public.sqlserver.server)
  • Re: Simple query executes fast but renders slow...
    ... After you restart Access and run your query, JET will write an extensive log ... "SQL Queries for Mere Mortals" ... >>Then I wrote queries and reports based on the local ... So, ODBC, right? ...
    (microsoft.public.access.queries)