Hello all

I have an in-house .NET legacy .NET app (new to me) that performs some validation operation on a SQL server database. Now, there seems to be some arbitrary connection timeouts whilst the validation program is running. Notably, the timeout often occurs at a particular table whose design I am in the process of reviewing. What are some known issues (in terms of server environment configuration) to watch out for as the potential causes for the random timeouts, and interim workarounds whilst I sort out the seemingly flawed design that causes elaborated query execution time? Thus far, I have checked the event viewer and I seem not to come by a substantial feedback. Some of the off the hook details regarding the server environment include a Windows Server 2008R running on a 16GB RAM with the relational database edition of SQL Server 2012 enterprise.

Great thanks

6 Spice ups

First, what makes you think there is a timeout? Is there a message? Is it a two minute timeout from a query via IIS? Is there a timeout in the SQLERROR log? Show us the actual error you are receiving since you haven’t isolated it.

I don’t think there is any reason to suspect an issue with SQL Server without more information. Have you identified the query? How many items in the table(s) that are being queried?

Your questions are based on assumptions that are too general and do not isolate the issue properly.

1 Spice up

Based on my past experiences, the timeout problems (if they exist) are more to do with the .NET config and not the out-of-box SQL config.

Try googling ‘.net sql timeout web.config’.

Here is a sample page:
https://stackoverflow.com/questions/7976737/how-to-increase-time-in-web-config-for-executing-sql-query