嘗試將SQL Server數據庫反向工程到數據庫項目中時收到超時錯誤。我們在該數據庫上沒有任何空間索引(我檢查了using this)。SchemaModel.SqlSpatialIndex:超時已過期
我沒有超時的連接設置(
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」中是否有用? – Matt