[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 817
  • Last Modified:

ODBC Timeout Error with linked tables in MS Access?

I have a MS Access database front end linked to a MS SQL server. I have a user that keeps getting the following error:

ODBC--update on a linked table 'tblsubjects' failed
[Microsoft][ODBC SQL DRiver][timeout Expired](#0)

This error happens when opening a pop up form which has the same record source as the main form. The error happens when closing the pop up form.

I can not reproduce the error on my machines.
0
seanlhall
Asked:
seanlhall
  • 3
  • 3
1 Solution
 
Jim Dettman (Microsoft MVP/ EE MVE)PresidentCommented:
<<I can not reproduce the error on my machines.>>

 You may not be able to.   All the error message means is that SQL Server is taking longer then the default 60 seconds to respond to the data request, and timesout.

 If the form is based on a query, look at the query properties and change the ODBC timeout to 0 (will never time out).

 Once you get that far, then you need to figure out why your request is taking so long (amount of data their requesting?  Network issue?  Server is bogging down?, etc).

Jim.
0
 
seanlhallAuthor Commented:
It seems like if more that two front ends are running I get the time out error. I have the time out set for 120 sec. If during that time the other front end closes the pop up form closes with no error.
0
 
Jim Dettman (Microsoft MVP/ EE MVE)PresidentCommented:
<<It seems like if more that two front ends are running I get the time out error. I have the time out set for 120 sec. If during that time the other front end closes the pop up form closes with no error. >>

  Sounds like you may have a dead lock situation; user 1 goes after resource a, then tries b mean while user 2 has a lock on b and tries going for a.

  What's this popup doing?

Jim.
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
seanlhallAuthor Commented:
the pop up has the notes field on it. There was not enough room on the main form. Also the second user does not have to be in the same record. As soon as the second user opens the front end the second user starts having problems like the record is locked.
0
 
seanlhallAuthor Commented:
Thanks.
0
 
Jim Dettman (Microsoft MVP/ EE MVE)PresidentCommented:

 Terribly sorry on this; I lost track of it (last two days have been a bit hectic).

  Where did you end up and why did you close the question?

Jim.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now