473,513 Members | 2,417 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Are there logs for ODBC errors?

1,271 Recognized Expert Top Contributor
I have a client running Access 2003 with a SQL back end. They are reporting a number of ODBC errors recently and complaining the system is crawling. (Each ODBC error takes about 1 minute to come up)

Is there a place where I can find a log that would tell me more about these errors?

Thanks,
Jim
Feb 8 '11 #1
3 18518
Stewart Ross
2,545 Recognized Expert Moderator Specialist
Hi Jim. You can use the ODBC driver administrator's trace facility to generate a log file of activity between a particular start and stop time, as outlined in this MS support article: http://support.microsoft.com/kb/274551.

-Stewart
Feb 9 '11 #2
jimatqsi
1,271 Recognized Expert Top Contributor
Thanks, Stewart. I'm going to try this but I'm not sure it's what I want. I'm actually looking for error logging and this is tracing, which I presume is a recording of every ODBC call. Using this will degrade system performance.

Jim
Feb 9 '11 #3
Stewart Ross
2,545 Recognized Expert Moderator Specialist
Turning on tracing does indeed degrade performance to an extent (also referred to by MS in their support article).

Unfortunately, I'm not aware of any actual error logging facilities that are built in to ODBC.

When I've used the trace option myself it was to find out what was going on in an ODBC instance that had suddenly stopped functioning altogether after 18 months of normal functioning. What the trace showed in that case was that the driver was unable to communicate with the remote system and was continuously timing out, as a result of a software issue at the 'other' end.

I don't know if the system event logs built in to Windows capture ODBC errors under the networking heading or not. Failing that there may be third-party tools available for this purpose, but I don't know of any off hand.

-Stewart
Feb 9 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
3260
by: Steve | last post by:
I normally use MySQL with PHP, but I'm delving into connecting to Access with ODBC (for a database that I already have set up at work), and I'm running into a couple of errors. I'm just trying to...
3
3711
by: paul_tomlin | last post by:
We connect via terminal services to an excel spreadsheet that has an ODBC link to an access database using a pivot table, when we try to refresh the data within the excel spreadsheet we receive the...
2
2810
by: Abram | last post by:
I have an ODBC 3.0 Application on Windows NT Server maintaining a connection to a SQL Server 2000 database on the same machine. When an error occurs, I'd like to be able to determine whether the...
1
2925
by: eight02645999 | last post by:
hi i have a piece of code: .... def connectdb(sql): import dbi import odbc import sys try:
3
4054
by: Detlev Ahlgrimm | last post by:
Hi! I have to use MS-Access2000 as a frontend for an oracle database. And I dont want to see these ORA-xxxx Popups if an error occures. So I use something like the following in access (it should...
14
10103
by: Abhi | last post by:
FYI: This message is for the benefit of MS Access Community. I found that this prblem has been encounterd by many but there is hardly any place where a complete solution is posted. So I thought...
1
3087
by: B Moor | last post by:
Hello, I am quite bogged down with this problem and would like some tips/help if any one has any. Thanks in advance. The Problem ----------- This system initially seemed quite stable for...
1
2536
by: paul_tomlin | last post by:
We connect via terminal services to an excel spreadsheet that has an ODBC link to an access database using a pivot table, when we try to refresh the data within the excel spreadsheet we receive the...
4
2704
by: Phil Latio | last post by:
Scenario is: We have an intranet on which a Helpdesk application can be accessed. Data input into the Helpdesk is stored in a Access 2000 database, held on a server. This is great, works fine,...
3
12916
by: Greg Strong | last post by:
Hello All, Is there any way to close an ODBC connection via DSN without completely closing the Access front-end? I'm doing some testing with using Access as a front-end to Oracle 10g Express...
0
7161
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7525
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5686
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5089
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4746
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3234
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.