title: SQL Server error - the server failed to resume the transaction. Desc:3300000001
body: <p>I'm using SQL CE v4 and following @<a href="https://stackoverflow.com/users/2046598/junet">JuneT</a>'s <a href="http://jtabadero.wordpress.com/2012/04/20/sync-framework-and-sql-compact-4-yes-you-can/" rel="nofollow noreferrer">article</a> which talks about using v4 for syncing.</p>
  
  <p>I have all the sync code written but it fails when I'm trying to provision the SQL Server scope on the line:</p>
  
  <pre><code>if (!scopeProvisioning.ScopeExists(ScopeName))
  {
     ...
  }
  </code></pre>
  
  <blockquote>
    <p>The server failed to resume the transaction. Desc:3300000001. 
    The transaction active in this session has been committed or aborted by another session.</p>
  </blockquote>
  
  <p>I have restarted the MSSQL service and the machine the server is on to no avail. <code>SELECT @@TRANCOUNT</code>returns 0. </p>
  
  <p>This is not a v3.5 vs. v4 issue as the same thing was happening with the v3.5 SDF prior to me upgrading it to v4 in a futile attempt to solve this issue.</p>
  
  <p>If I change the name of the scope the error changes to:</p>
  
  <blockquote>
    <p>The server failed to resume the transaction. Desc:3400000001.
    The transaction active in this session has been committed or aborted by another session.</p>
  </blockquote>