Time out occured calling SP from webpage | SQL Server Performance Forums

SQL Server Performance Forum – Threads Archive

Time out occured calling SP from webpage

Hi, I have a stored procedure returns a small result set (20 rows and 5 colums apprx).
When I run this SP from QA it takes only 3 – 5 seconds to give me back the results, but when I try to execute the same thing from a web page it takes more than 30 seconds to execute and times out. To eliminate any possibility of IP connections, I have installed the webserver on the same server as SQL server and also tried to open the pages from localhost. If anyone has any suggestions, please let me know. Thanks in advance.
While running the sp from Webpage, capture all the activities in profiler
and check whether it is because of Parameter Sniffing.
]]>