473,835 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with one table - Connection Timeout

Hello everyone,
I have an Access 2003 (2000 format) front end application with SQL 2000
back end that is being used by about 20 users on a daily basis (using
local copy of .mdb file). Ever since we migrated the data to the
company's SQL server we've been having problems with one particular
table (tblContact). We were using linked tables and ODBC connection
originally. When we tried to make any changes (additions/edits/deletes
using SQL update statements) to records in this table through Access,
there was a long
pause and then we would get the error:
ODBC--update on a linked table 'TABLENAME' failed.
[Microsoft][ODBC SQL Server Driver]Timeout expired. Once we got this
error, the table would lock and not allow for any changes. Usually it
would clear itself up after several minutes, or if we asked everyone to
log out.
So, I figured there had to be some issue with the ODBC / Jet engine and
I rewrote all the forms that added/edited contacts to use ADO
connection instead. Unfortunatelly, the problem still exists and now we
get the OLE DB error message: Connection Timeout.
Not only did it not solve the problem, but it seems like it made it
even worst as it happens now several times during the day and I hear
people complainig all the time. It drives me crazy and I have no idea
why this is happening. I guess there must be some locking going on with
this table, but why this one and how to fix it. What makes it even
worst is that I don't have the admin access to the SQL Server to run
some tools, and the lady who does administer it is a piece of work and
does not want to help at all. She says it is the application's fault,
and she can't help me. So, what am I supposed to do? Please, someone
help me, or I'll shoot myslef if I don't fix this soon (and I have 2
children at home :)

Jun 5 '06 #1
4 5665
If you don't know what the problem is you can't fix it.

You don't know what the problem is because you can't get on the server to
investigate.

Talk to the DBA again. Point out that you accept it is the application but
you need her help and some server time to investigate the problem. If she
won't help then you have to escalate it to your boss/her boss.

If you don't then you're the one who ends up looking stupid not her.

--

Terry Kreft
"Julia" <ju******@netsc ape.net> wrote in message
news:11******** **************@ c74g2000cwc.goo glegroups.com.. .
Hello everyone,
I have an Access 2003 (2000 format) front end application with SQL 2000
back end that is being used by about 20 users on a daily basis (using
local copy of .mdb file). Ever since we migrated the data to the
company's SQL server we've been having problems with one particular
table (tblContact). We were using linked tables and ODBC connection
originally. When we tried to make any changes (additions/edits/deletes
using SQL update statements) to records in this table through Access,
there was a long
pause and then we would get the error:
ODBC--update on a linked table 'TABLENAME' failed.
[Microsoft][ODBC SQL Server Driver]Timeout expired. Once we got this
error, the table would lock and not allow for any changes. Usually it
would clear itself up after several minutes, or if we asked everyone to
log out.
So, I figured there had to be some issue with the ODBC / Jet engine and
I rewrote all the forms that added/edited contacts to use ADO
connection instead. Unfortunatelly, the problem still exists and now we
get the OLE DB error message: Connection Timeout.
Not only did it not solve the problem, but it seems like it made it
even worst as it happens now several times during the day and I hear
people complainig all the time. It drives me crazy and I have no idea
why this is happening. I guess there must be some locking going on with
this table, but why this one and how to fix it. What makes it even
worst is that I don't have the admin access to the SQL Server to run
some tools, and the lady who does administer it is a piece of work and
does not want to help at all. She says it is the application's fault,
and she can't help me. So, what am I supposed to do? Please, someone
help me, or I'll shoot myslef if I don't fix this soon (and I have 2
children at home :)

Jun 7 '06 #2
Thank you Terry,
I did escalate it to my boss and we are finally getting some help from
her. She run sp-who and sp_locks and there is deffinitely some blocking
going on, possibly deadlocks. I've checked the current indexes and
changed them as the primary field was indexed three times (once as a
primary key by default - clustered, then again explicitly, and yet
again as a part of a composit index). I don't know if that did the
trick, but today we had no problems using the db. So, I keep my fingers
crossed. If someone has some other ideas, then please shere them with
me as I'm affraid this problem may come back tomorrow.
Thank you once again.

Jun 9 '06 #3
Thank you Terry,
I did escalate it to my boss and we are finally getting some help from
her. She run sp-who and sp_locks and there is deffinitely some blocking
going on, possibly deadlocks. I've checked the current indexes and
changed them as the primary field was indexed three times (once as a
primary key by default - clustered, then again explicitly, and yet
again as a part of a composit index). I don't know if that did the
trick, but today we had no problems using the db. So, I keep my fingers
crossed. If someone has some other ideas, then please shere them with
me as I'm affraid this problem may come back tomorrow.
Thank you once again.

Jun 9 '06 #4
Database still working ok and it's been almost a week. I guess all
there was to it was wrong indexes set on the table.

Jun 13 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2826
by: Guy Deprez | last post by:
Hi, i'm having a problem to create indexes. STEP 1 ----------- Connection is OK (you can find the string at the end of the message) Table ("Couleurs") creation is OK STEP 2. Index Creation
3
6120
by: DarthMacgyver | last post by:
Hello, I recently wrote a survey application. Each question is very similar. The first questions gives me a problem when there are multiple people taking the survey (The Database connection Timed out) I am using the Data Access Application Blocks as ASP.NET (using VB.NET) and SQL 2000. In there first question there can be up to 27 answers. So I figured instead of making 27 different trips to the database I woulc just concatenate my...
2
1848
by: Mike | last post by:
I have a VB6 program on my PC that connects into and looks at a slq server 7 table on a development server. This server is rebooted everynight. Everytime the connection is interupted, an error message pops up. This is expected to happen, but I wanted to delay this error message from popping up and give the server a chance to reboot. I put the statement 'cnn.ConnectionTimeout = 600' -> cnn is a new connection to delay the vb...
2
410
by: Mustafa Yesilkaya | last post by:
Hi. I have a problem with sql server. I have thousands of record in a database table. When i want to list all with SELECT * command in asp.net page, an error message comes : SQL SERVER TIMEOUT. But when i list with SELECT CITY command there is no error message but the process is very slow. Can you help me?
8
5774
by: BBC1009 | last post by:
I have an application connected to an overseas sql-server using port 1433. But recently it always timeout the connection. Any solution to avoid this??? I am using the VB.net Windowed Form with .net 2002, SQL-Sever 2000 Enterprise Thanks!
1
12166
by: mingki | last post by:
Hi Developers, I am a .Net developer of a Large Online Retailling Company. I would like to have your help on a Connection Pool issue. Recently we have developed a Web Application on ODP .Net to work with Oracle Database 10g. To gain the performance, connection pool enable is a must. Everything work fine throughout the development period and the performance is Great, however while the Web Application is deployed to the production,...
0
369
by: Julia | last post by:
Hello everyone, I have an Access 2003 (2000 format) front end application with SQL 2000 back end that is being used by about 20 users on a daily basis (using local copy of .mdb file). Ever since we migrated the data to the company's SQL server we've been having problems with one particular table (tblContact). We were using linked tables and ODBC connection originally. When we tried to make any changes (additions/edits/deletes using SQL...
2
5129
by: RyoSaeba | last post by:
Hello, I have a problem with the session state set to Sql Server (AspNet 1.1, Windows Server 2003 on an Application Center cluster, Sql Server 2000 on another server). Sometimes, when many user are using the application, we got this error: "System.Web.HttpException: Unable to connect to SQL Server session database. ---System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the...
1
20657
by: Ryan Liu | last post by:
Hi, I have a 100 clients/ one server application, use ugly one thread pre client approach. And both side user sync I/O. I frequently see the error on server side(client side code is same, but I don't see the error): "System.IO.IOException: Unable to read data from the transport connection:A blocking operation was interrupted by a call to WSACancelBlockingCall"
0
9802
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9652
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10807
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10517
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10559
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7765
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6961
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5802
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4430
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.