title: NOLOCK error when attaching databases
body: <p>One of my servers went down and I've had to move all my databases to another server. I want to use the "attach" functionality in SQL Server 2012 (these databases are SQL Server 2005).</p>
  
  <p>For some reason I am getting a <code>NOLOCK</code> error on most of the databases when trying to attach them:</p>
  
  <blockquote>
    <p>Could not continue scan with NOLOCK due to data movement.
    <br>Could not open new database 'db'. CREATE DATABASE is aborted.
    <br>File activation failure. The physical file name "D:\db\xxxx_log.ldf" may be incorrect.
    <br>New log file 'C:\db\xxxx_log.ldf' was created. 
    <br>(Microsoft SQL Server, Error: 601)</p>
  </blockquote>