J
Jason Wilson
I've never run into this before and have burned two days trying to
figure it out.
I have a relatively performant store procedure that runs in less than
a second when called from Management Studio but when run from a typed
dataset in an asp.net page it sits for 30 seconds and then throws a
SQL timeout exception.
An SQL trace of the both look exactly the same -- even when I through
every option SQL Profiler has to offer.
I am using the same account in both instances and as best I can tell
the connection properties are set the same.
There are numerous writes to the tables that are in the query, but the
reads are all dirty (NOLOCK clause). SP_WHO2 doesn't show any
blocking issues. Also server resource utilization is low. Besides --
if it were a utilization of contention issue, it would affect both
instances.
I am really at a loss...
figure it out.
I have a relatively performant store procedure that runs in less than
a second when called from Management Studio but when run from a typed
dataset in an asp.net page it sits for 30 seconds and then throws a
SQL timeout exception.
An SQL trace of the both look exactly the same -- even when I through
every option SQL Profiler has to offer.
I am using the same account in both instances and as best I can tell
the connection properties are set the same.
There are numerous writes to the tables that are in the query, but the
reads are all dirty (NOLOCK clause). SP_WHO2 doesn't show any
blocking issues. Also server resource utilization is low. Besides --
if it were a utilization of contention issue, it would affect both
instances.
I am really at a loss...