本文介绍了DataServiceQuery BeginExecute超时SQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.
我正在使用SIlvelight 4和RIA Services,因此我正在使用SL2005调用一些存储过程.商店程序全部正常运行.除了其中之一,因为要花很多时间.我有关于超时的错误.
该SP会执行很多指令,当我在SQL Enterprise Manager中尝试时,它需要2分钟的时间.

如何修改此存储过程调用的超时.


通话听起来像是这样:

Hi.
I am uisng SIlvelight 4, and RIA Services, so I am calling some store procedures with SL2005. the Store procedures all working successfull. except one of them, because it is taking a lot of time. I have an error regarding to timetout.
This SP do a lot of instructions When I try it in SQL Enterprise manager, it takes until 2 minutes.

How I can modify the time out for this Store procedure callings.


the call has smothing like that:

serviceQuery.BeginExecute(new AsyncCallback(OnStoreProcedureComplete_OnLoadComplete), serviceQuery);



在方法中:



In the methos:

OnStoreProcedureComplete_OnLoadComplete



我有一个关于超时的错误.

有人可以帮忙解决此问题吗?.
非常感谢您



I have an error regarding to time out.

Could someone help with this issue?.
Thank you very much

推荐答案


这篇关于DataServiceQuery BeginExecute超时SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 05:25