SQL Server Performance

Time out occured calling SP from webpage

Discussion in 'SQL Server Reporting Services' started by happykiran, Mar 15, 2007.

  1. happykiran New Member

    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.
  2. ranjitjain New Member

    While running the sp from Webpage, capture all the activities in profiler
    and check whether it is because of Parameter Sniffing.

Share This Page