This is a discussion on Query timeout problems within the SQL Server forums, part of the Microsoft SQL Server category; --> Front End: Access 2000 Project (.adp) Back End: SQL Server 2000 I have an application that keeps timing out. ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Front End: Access 2000 Project (.adp) Back End: SQL Server 2000 I have an application that keeps timing out. I have opened the DataLink properties in the front end (File, Connection, Advanced tab) and set the timeout to 999. But the connection still occasionally times out. Any ideas? Some of the SQL is pretty horrible (multiple sub-queries etc.) TIA Edward -- The reading group's reading group: http://www.bookgroup.org.uk |
| ||||
| "Edward" <teddysnips@hotmail.com> wrote in message news:25080b60.0501310730.3f8e6ed9@posting.google.c om... > Front End: Access 2000 Project (.adp) > Back End: SQL Server 2000 > > I have an application that keeps timing out. I have opened the > DataLink properties in the front end (File, Connection, Advanced tab) > and set the timeout to 999. But the connection still occasionally > times out. > > Any ideas? Some of the SQL is pretty horrible (multiple sub-queries > etc.) > > TIA > > Edward > -- > The reading group's reading group: > http://www.bookgroup.org.uk The timeout you changed is the connection timeout, so it won't affect timeouts caused by long-running queries. Depending on what connection library you're using (ODBC, ADO), you should be able to change the general timeout value, but I have no idea how - perhaps an Access group might give more help. In ay event, if the timeouts occur during different queries, or the same queries with different parameters, you'll probably have to try to identify the problem queries more exactly - Profiler would be a good place to start. Simon |