從vb.net調用存儲過程時,如果在連接字符串中未指定超時,是否存在默認的SQL超時時間? 我不確定在連接字符串中是否指定了CommandTimeout
,但我正在經歷所有可能情況。從VB.net調用存儲過程超時錯誤
實施例,如果30秒(或更多)之後沒有結果扔:
`System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.`
SQL探查說,腳本運行,並且當程序timesout ..
裏邊反腳本運行沒有在30秒內結束在SQL服務器中大約1分45秒自身出錯。