title: Error when running Move-SPSite in SharePoint 2010 to move site collections
body: <p>I have a fresh install of SharePoint 2010 in a new server. I am trying to reorganize the site collections into multiple content database for easier management. I get the following error when trying to move site collections using PowerShell:</p>
  
  <p>Move-SPSite : Operation is not valid due to the current state of the object.
  At line:1 char:12
  + Move-SPSite &lt;&lt;&lt;&lt;  <a href="https://xxxxx.xxx/test/test-erick/" rel="nofollow">https://xxxxx.xxx/test/test-erick/</a>
      + CategoryInfo          : InvalidData: (Microsoft.Share...PCmdletMoveSite:
     SPCmdletMoveSite) [Move-SPSite], InvalidOperationException
      + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletMoveSite</p>
  
  <p>Both source and destination content databases have filestream enabled. I do not want to do a shallow copy but don't know if the filestream setting is causing the problem. </p>
  
  <p>UPDATE: I tried creating a content database which does not have filestream enabled and was able to move the site collection. So the problem is trying to move site content to a file stream enabled database.</p>
  
  <p>UPDATE 2: I can't move the sites again so it was not related with filestream after all. I tried recreating the database and I am getting an error this time.</p>