Re: ODBC call failed - weird behavior

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Sue Hoegemeier (Sue_H_at_nomail.please)
Date: 03/11/04


Date: Thu, 11 Mar 2004 08:16:58 -0700

It could be an MDAC issue. You could run the MDAC component
checker on a machine where the app works and another machine
where the app gets the ODBC error and see if there are any
differences in MDAC versions. You can get component checker
from:
http://msdn.microsoft.com/data/downloads/tools/default.aspx

You could also turn on ODBC tracing then reproduce your
error and then turn tracing off again. You could open up the
ODBC trace log, look for specifics of what's failing and try
to track down the issue from there.

-Sue

On Wed, 10 Mar 2004 19:05:29 -0500, "Ragnar Midtskogen"
<ragnar_ng@optonline.net> wrote:

>Hello,
>
>I have been working on updating an Access 2000 application that uses linked
>ODBC tables to connect to an SQL Server 2000. My development machine is
>connected to the server over a Microsoft LAN, at 100Mbits.
>Both the Office 2000 on my development machine and the SQL server has all
>the latest SP's
>Everything worked fine for months until today. I am not aware of any changes
>to ether machine since yesterday.
>Now, there is one table that can not be opened any more.
>I can access all the other tables ecxept that one. When I try to open it I
>get the message "ODBC call failed". The table is displayed but with #Name?
>in all columns for all records.
>Once that has happened I get the same message for all tables. In addition to
>"ODBC call failed" there is also
>"[Microsoft][ODBC SQL Server Driver][Communication link failure (#0)".
>When I close down and reopen the app I can again access all tables except
>the bad one.
>At first, I thought the table had gotten corrupted, but I can open the table
>just fine on the server. If I set up an ODBC on the server with the same
>name I and run my application there. the problem table opens fine.
>I removed the ODBC and set it up again with the same properties, client uses
>TCP/IP network library, and I am using SQL Server authentication.
>I am using MDAC 2.6 SP2, and I did a refresh, but it did not solve problem.
>I ran
>I am wondering if I should update to 2.8
>
>If anyone has a suggestion I would appreciate it very much.
>
>Ragnar
>



Relevant Pages

  • Re: Invalid identifier/column names after Upsize Access data to SQ
    ... This app. ... My guess is that there are some ODBC related settings that I need to change. ... Or perhaps there is something I need to do on the SQL Server database. ... When the tables are viewed via Management Studio, these 'odd' names ...
    (microsoft.public.sqlserver.odbc)
  • Re: different mdac, different sql server behaviour
    ... ODBC is part of MDAC and you are using the SQL Server ODBC driver. ...
    (microsoft.public.sqlserver.server)
  • Re: Kompatibilitätslevel und ODBC Version
    ... Wirklich ODBC? ... SQL Server selbst intern andere Regeln an - wie Du ... SQL Server 2000 bedeutet schon immer MDAC 2.6 und höher ... (Windows XP/2003) ...
    (microsoft.public.de.sqlserver)
  • Re: Permissions and Connection
    ... ADO to connect to the SQL Server. ... ADO, ODBC, RDO? ... Or refreshing the ADO installation if MDAC is used. ...
    (microsoft.public.sqlserver.server)
  • Re: Common database code for Oracle, SQL Server, MS Access
    ... that depending on what database I connect to Access, SQL Server or Oracle, I ... > In phase one we want to develop the app on MS Access and later on wants to ... Can I just use ODBC connection all across? ...
    (microsoft.public.dotnet.framework.adonet)