How to increase time in web.config for executing sql query

前端 未结 5 1859
故里飘歌
故里飘歌 2020-12-31 10:56

When I am running a query in web application, I\'m getting a null value. Same query directly in SQL Management Studio returns results.

I think that the

5条回答
  •  执念已碎
    2020-12-31 11:43

    I think you can't increase the time for query execution, but you need to increase the timeout for the request.

    Execution Timeout Specifies the maximum number of seconds that a request is allowed to execute before being automatically shut down by ASP.NET. (Default time is 110 seconds.)

    For Details, please have a look at https://msdn.microsoft.com/en-us/library/e1f13641%28v=vs.100%29.aspx

    You can do in the web.config. e.g

    
    

提交回复
热议问题