K
k_man
Hi all,
Have a strange problem with SqlClient timeouts.
Here is some background: About a month ago I upgrade from SQL 2000 to 2008.
Am using Stored Procedures for all the data access. Most of them work fine,
but I have some of them, about 20%, that give me time out errors.
From my dev machine if I use SQL Server Management Studio and I right click
on the SP, enter in the query parameters and execute it, the resultset comes
back in less than one second. So far so good.
No here is the really strange part. When I use Sever Explorer from Visual
Studio 2008, and I try to execute the same SP I get a timeout error ("Timeout
expired. The timeout period elapsed prior to completion of the operation or
the server is not responding.")
I also get the same timeout when trying to execute from my code (C#) in
Asp.Net.
I have been beating my head against the wall for three days trying to track
this down with now and so far not luck. Any help would be greatly appreciated.
Thanks in advance.
Have a strange problem with SqlClient timeouts.
Here is some background: About a month ago I upgrade from SQL 2000 to 2008.
Am using Stored Procedures for all the data access. Most of them work fine,
but I have some of them, about 20%, that give me time out errors.
From my dev machine if I use SQL Server Management Studio and I right click
on the SP, enter in the query parameters and execute it, the resultset comes
back in less than one second. So far so good.
No here is the really strange part. When I use Sever Explorer from Visual
Studio 2008, and I try to execute the same SP I get a timeout error ("Timeout
expired. The timeout period elapsed prior to completion of the operation or
the server is not responding.")
I also get the same timeout when trying to execute from my code (C#) in
Asp.Net.
I have been beating my head against the wall for three days trying to track
this down with now and so far not luck. Any help would be greatly appreciated.
Thanks in advance.