2016-05-10 23 views
0

私は、SQL Serverからのバックアップを作成する機能を持つアプリケーションを使用していますが、それの大きさは、エラーを生成します。SQL Serverの:タイムアウトの期限が切れ、代替ソリューション

Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. 
The backup or restore was aborted. 

私は疑問に思って何アプリケーションを変更せずにManagement Studioからtime out時間を変更できるかどうかです。

また、接続文字列をデータベースに変更する以外にも、単純な文字列に;Connection Timeout=30を追加するとこの問題が解決されますか?アプリケーションはC#で書かれています。

答えて

0

What I am wondering is if I am able to change the time out time from Management Studio without altering the application.

  • はい、あなたはManagement Studioでタイムアウトを変更することができます。このarticleを参照してください。

does adding a simple ;Connection Timeout=30 to the string solves this problem?

  • あなたはSQL Serverのではなく、クエリ実行のタイムアウトに接続するときいいえ、それはタイムアウトです。
+0

ありがとうございます。実行タイムアウトはすでに0に設定されています。タイムアウトではありません。エラーが発生してはいけません。 – traveller

関連する問題