<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Failed to Compress the database - ERROR 999999 in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1034585#M7022</link>
    <description>&lt;P&gt;Yeah I guess so.&lt;/P&gt;&lt;P&gt;When I run the Compress GP Tool in Pro that's what it tells me as well.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 18:29:35 GMT</pubDate>
    <dc:creator>wilcow</dc:creator>
    <dc:date>2021-03-09T18:29:35Z</dc:date>
    <item>
      <title>Failed to Compress the database - ERROR 999999</title>
      <link>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1034470#M7018</link>
      <description>&lt;P&gt;ArcGIS Desktop version 10.6&lt;/P&gt;&lt;P&gt;SQL Server 2014&lt;/P&gt;&lt;P&gt;attempting to compress the DB and I get the following:&lt;/P&gt;&lt;P&gt;ERROR 999999: Error executing function.&lt;BR /&gt;Underlying DBMS error [dbo.DEFAULT]&lt;BR /&gt;Failed to execute (Compress).&lt;/P&gt;&lt;P&gt;I deleted all versions and killed all connections, but the error persists.&lt;/P&gt;&lt;P&gt;SDE_compress_log shows FAILURE -51 in compress_status and end_state_count is sky high.&lt;/P&gt;&lt;P&gt;I assume the state count is what's causing the problem, but I'm at a loss as to how to fix it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know there's a ton of posts about Failure to Compress, but most of them have explicit errors to work from.&lt;/P&gt;&lt;P&gt;I've used Analyze Datasets, and Diagnose Version tables ("0 multiversioned tables had orphaned, duplicate, missing or redundant rows")&lt;/P&gt;&lt;P&gt;Any advice on troubleshooting would be appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 15:04:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1034470#M7018</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2021-03-09T15:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Compress the database - ERROR 999999</title>
      <link>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1034503#M7019</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check on below link.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.stackexchange.com/questions/377883/executeerror-error-999999-error-executing-function-failed-to-execute-createf" target="_blank"&gt;https://gis.stackexchange.com/questions/377883/executeerror-error-999999-error-executing-function-failed-to-execute-createf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 16:03:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1034503#M7019</guid>
      <dc:creator>DrVSSKiran</dc:creator>
      <dc:date>2021-03-09T16:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Compress the database - ERROR 999999</title>
      <link>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1034512#M7020</link>
      <description>&lt;P&gt;Thanks but that seems to refer to a Create FGDB script in Python.&lt;/P&gt;&lt;P&gt;I don't see how it would help in this situation.&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 16:23:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1034512#M7020</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2021-03-09T16:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Compress the database - ERROR 999999</title>
      <link>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1034576#M7021</link>
      <description>&lt;P&gt;It may be best to work with technical support on this issue.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 18:15:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1034576#M7021</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2021-03-09T18:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Compress the database - ERROR 999999</title>
      <link>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1034585#M7022</link>
      <description>&lt;P&gt;Yeah I guess so.&lt;/P&gt;&lt;P&gt;When I run the Compress GP Tool in Pro that's what it tells me as well.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 18:29:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1034585#M7022</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2021-03-09T18:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Compress the database - ERROR 999999</title>
      <link>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1034607#M7025</link>
      <description>&lt;P&gt;Have you tried this work arround.&lt;/P&gt;&lt;P&gt;Try once these settings before you compress the DB.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;On the machine where SQL Server&amp;nbsp; is installed, navigate to Start &amp;gt; Programs &amp;gt; Microsoft SQL Server &amp;gt; SQL Server Management Studio.&lt;/LI&gt;&lt;LI&gt;Highlight and right-click the instance and click Properties.&lt;/LI&gt;&lt;LI&gt;In the Server Properties window:&lt;BR /&gt;A. Select 'Permissions'.&lt;BR /&gt;B. Highlight the 'sde' user. Verify the user has 'View Server State' permission available.&lt;BR /&gt;C. Click the check box under 'Grant' for the 'View Server State' permission&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 18:51:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1034607#M7025</guid>
      <dc:creator>DrVSSKiran</dc:creator>
      <dc:date>2021-03-09T18:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Compress the database - ERROR 999999</title>
      <link>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1035130#M7030</link>
      <description>&lt;P&gt;checked and the SDE user did not have View Server State granted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i granted the View Server State permission but still get the same error.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 20:22:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1035130#M7030</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2021-03-10T20:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Compress the database - ERROR 999999</title>
      <link>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1056056#M7170</link>
      <description>&lt;P&gt;Also check the Windows Sever Event logs. &amp;nbsp;If the compress failure is due to a SQL Server database table or index issue then the compress failure will often register a useful error message in the event logs.&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 20:00:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1056056#M7170</guid>
      <dc:creator>WilliamRice</dc:creator>
      <dc:date>2021-05-09T20:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Compress the database - ERROR 999999</title>
      <link>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1058032#M7178</link>
      <description>&lt;P&gt;fixed this with the help of tech support - the anonymous error referred to some orphaned locks in a couple of tables. we found them by searching SDE_state_locks and SDE_table_locks tables and deleting any locks that weren't present in SDE_process_information table&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 14:02:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/failed-to-compress-the-database-error-999999/m-p/1058032#M7178</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2021-05-14T14:02:38Z</dc:date>
    </item>
  </channel>
</rss>

