【发布时间】:2016-03-08 15:57:05
【问题描述】:
我在尝试将 SQL Server 数据库反向工程为数据库项目时收到超时错误。我们在那个数据库上没有任何空间索引(我检查了using this)。
我没有连接超时设置(
3/8/2016 9:46:00 AM An error was received from SQL Server while attempting to reverse engineer elements of type Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlSpatialIndex: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
3/8/2016 9:46:00 AM An exception was generated.
Unable to reconnect to database: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
3/8/2016 9:46:00 AM An error was received from SQL Server while attempting to reverse engineer elements of type Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlSpatialIndex: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
3/8/2016 9:46:00 AM Finished importing database.
3/8/2016 9:46:00 AM A summary of the import was saved to the following location: C:\Temp\Import From Prod 2\Import Schema Logs\Import From Prod 2_20160308024125.log
3/8/2016 9:46:00 AM Click Finish to continue...
重现问题的步骤:
- 打开 Visual Studio 2013
- 从菜单中,单击“查看”/“Sql Server 对象资源管理器”
- 连接到 SQL Server(在我们的例子中是 UAT 服务器)并选择一个数据库
- 从数据库的上下文菜单中,选择“创建新项目”
- 按“开始”
如何确定实际超时的原因?我该如何解决这个问题?
【问题讨论】:
-
“C:\Temp\Import From Prod 2\Import Schema Logs\Import From Prod 2_20160308024125.log”中有什么有用的吗?
标签: sql-server visual-studio-2013 sql-server-2014 database-project