首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SchemaModel.SqlSpatialIndex:超时过期

SchemaModel.SqlSpatialIndex:超时过期
EN

Stack Overflow用户
提问于 2016-03-08 15:57:05
回答 2查看 1.8K关注 0票数 2

当试图将Server数据库反向工程到数据库项目时,我收到了一个超时错误。该数据库上没有任何空间索引(我检查了使用这个)。

我在连接上没有超时设置(

代码语言:javascript
复制
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...

复制这一问题的步骤:

  1. 开放2013
  2. 在菜单中,单击“查看”/“Server对象资源管理器”
  3. 连接到Server (在本例中是UAT服务器)并选择数据库
  4. 在数据库的上下文菜单中,选择“”
  5. 按“开始”

我怎样才能弄清楚什么是真正的超时?我该怎么解决这个问题?

EN

回答 2

Stack Overflow用户

发布于 2016-05-25 22:16:29

你能增加可用内存的数量吗?通过对现有db项目和本地数据库之间的模式比较,这个准确的错误开始出现。当我关闭除Visual之外的所有应用程序时,问题都得到了解决。这让我觉得我的电脑没有足够的资源在我需要的时间内完成任务当我有几个应用程序打开。

票数 0
EN

Stack Overflow用户

发布于 2017-01-05 00:03:45

一个对我有用的选项是增加HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\NN.N\SQLDB\Database\QueryTimeoutSeconds的值并基于重新启动Visual。但是,虽然取得了成功,但要进行比较需要近5分钟的时间。

后来我发现,我们最近将构建目标更改为Server 2016,但仍在引用2012年的master.dacpac。我更新了对2016年master.dacpac的引用,现在不到一分钟就完成了比较。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35872014

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档