I have a Web Service (that is consumed) to just check in a single table if a RecID exist, there is a index for such column.
It uses Linq To SQL query, where default connection timeout is 30 seconds.
Web Service is working fine about a year, nothing changed on app or DB since then only number of records grow.
Now I´m observing sometimes an exception "System.Data.SqlClient.SqlException: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.".
It happens about once a week by 1~1.5 minute
For log purposes I register start, end and elapsed time for each Web Service request, when Exception happens elapsed varies as 50ms, 100ms, 200ms
How can this be possible?
By the way IIS and SQL on same server
I understand a timeout after 30 seconds, but in milliseconds.......
Does anybody have any clue?