I've recently updated an MSSQL server from 2000 version to 2005, to make use of UDFs and tweak some results in a system. The thing is that we don't have the source code.
So, I replaced the SQL version, and every worked fine... except when we have to do a large query. I'm getting this error:
System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
I've searched about it, and what I get is that it use to be a CommandTimeout
issue that I have to solve programmatically, as it is supposed to be in the client side, but this is weird, because it always worked even with big queries.
Is there any way to remove any kind of timeout? The system is completely internal and only a few people uses it, so there's no risk of outages... I prefer a query running forever that this annoying messages.
Thanks in advance!