Stored proc in .net dataset class vs studio management

Posted by Robert on Stack Overflow See other posts from Stack Overflow or by Robert
Published on 2009-10-09T08:18:50Z Indexed on 2010/03/13 20:05 UTC
Read the original article Hit count: 218

Filed under:

Morning all. Got myself a simple query which returns ten rows in SQL Server Management Studio. I call the stored proc by right clicking it and feeding in the parameters.

The results are returned immediately.

In .NET we have set up a dataset class, added a table adapter whose select is this same procedure. I pass in the very same parameters and the execution times out after the standard 30 seconds. It continues to run immediately when called in sql server management studio.

Any ideas why the execution time is seemingly infinite in the .net dataset class.

The query is very simple.

© Stack Overflow or respective owner

Related posts about ASP.NET