【发布时间】:2016-05-10 09:09:57
【问题描述】:
我正在使用能够从 sql 服务器创建备份的应用程序,但它的大小会导致错误:
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# 编写的。
【问题讨论】:
标签: sql-server timeout