Query times out from web app but runs fine from management studio

前端 未结 8 1536
盖世英雄少女心
盖世英雄少女心 2020-12-01 05:13

This is a question I asked on another forum which received some decent answers, but I wanted to see if anyone here has more insight.

The problem is that you have one

8条回答
  •  北海茫月
    2020-12-01 05:52

    Have you turned on ASP.NET tracing yet? I've had an instance where it wasn't the SQL stored procedure itself that was the problem, it was the fact that the procedure returned 5000 rows and the app was attempting to create databound ListItems with those 5000 items that was causing the problem.

    You might look into the execution times between the web app functions as well through the trace to help track things down.

提交回复
热议问题