473,396 Members | 1,989 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 5624
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******@netscape.net> wrote in message
news:11**********************@c74g2000cwc.googlegr oups.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
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
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...
2
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...
2
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. ...
8
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...
1
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...
0
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...
2
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
0
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
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,...

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.