Bug:  Compress operation fails after encountering a corrupt spatial index when a SQL Server 2008 R2 database is restored to SQL Server 2012

相关信息
Article ID: 45406
Bug Id: BUG-000089603
Software:
ArcGIS for Desktop Advanced 10.2.1
ArcGIS for Desktop Standard 10.2.1
Platforms: N/A

BUG描述
For SQL Server 2008 R2 databases restored to a SQL Server 2012 instance, the Compress geodatabase operation fails with the error message:

"Failed to compress the database.
Underlying DBMS error [HY000:[Microsoft][SQL Server Native Client 11.0]Unspecified error occurred on SQL Server. Connection may have been terminated by the server.] [sde.DEFAULT]"

BUG原因
A SQL Server Profiler trace (with Exceptions captured), run during the Compress, reveals an error about a corrupt index similar to the following:

"Unable to find index entry in index ID X, of table 1934681990, in database 'DatabaseName'. The indicated index is corrupt or there is a problem with the current update plan. Run DBCC CHECKDB or DBCC CHECKTABLE. If the problem persists, contact product support."

One or more indexes have been marked as corrupt, preventing the Compress from completing successfully.
已邀请:

EsriSupport

赞同来自:

解决方案
Contact Esri Technical Support or work with the DBA to rebuild spatial indexes on database tables.




    创建及修改时间
    Created: 8/31/2015 Last Modified: 9/3/2015
    原文链接
    http://support.esri.com/en/kno ... 45406

    要回复问题请先登录注册