title: SSRS Migration errors rs.exe -i ssrs_migration.rss
body: <p>We are trying to migrate from a 2010 Sharepoint Integrated SSRS instance to a 2014 standalone SSRS. I can connect with the accounts used to both servers. When the RSS process begins, I see the connection occur from Process Monitor, and we see data flow in to the “eval” phase of the script. When the we tell the script to execute the migration, nothing gets created on the target SSRS instance. </p>
  
  <p>Script reference: <a href="https://msdn.microsoft.com/en-us/library/dn531017(v=sql.120).aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/dn531017(v=sql.120).aspx</a> </p>
  
  <p>Error below: </p>
  
  <pre><code>Migrating Folder: http://SharepointSSRS/bi/SiteAssets ... FAILURE:
  Index and count must refer to a location within the string.
  Parameter name: count
  
  Migrating Folder: http://SharepointSSRS/bi/SiteCollectionDocuments ... FAILURE:
  Index and count must refer to a location within the string.
  Parameter name: count
  
  Migrating Folder: http://SharepointSSRS/bi/SiteCollectionImages ... FAILURE:
  Index and count must refer to a location within the string.
  Parameter name: count
  
  Migrating Folder: http://SharepointSSRS/bi/SiteAnalyticsReports ... FAILURE:
  Index and count must refer to a location within the string.
  Parameter name: count
  </code></pre>
  
  <p>...</p>
  
  <pre><code>Migrating DataSource: http://SharepointSSRS/bi/Data Connections for PerformancePoint/GreatPlains-HR-Prod.rsds ... FAILURE:
  Unable to connect to the remote server
  
  Migrating DataSource: http://SharepointSSRS/bi/Data Connections for PerformancePoint/APPNAME1-Financials-Prod.rsds ... FAILURE:
  Unable to connect to the remote server
  
  Migrating DataSource: http://SharepointSSRS/bi/Data Connections for PerformancePoint/APPNAME2.rsds ... FAILURE:
  Unable to connect to the remote server
  
  Migrating DataSource: http://SharepointSSRS/bi/Data Connections for PerformancePoint/APPNAME3-Reporter-Prod.rsds ... FAILURE:
  Unable to connect to the remote server
  </code></pre>
  
  <p>...</p>
  
  <pre><code>Migrating Report: http://SharepointSSRS/bi/Reports/Financial/Receivables Historical Aging Trial Balance.rdl
  The item '/Reports/Financial' cannot be found. ---&gt; Microsoft.Reporting.
  Diagnostics.Utilities.ItemNotFoundException: The item '/Reports/Financial' cannot be found.
  
  Migrating Report: http://SharepointSSRS/bi/Reports/Financial/AnotherAPPNAME2Audit.rdl
  The item '/Reports/Financial' cannot be found. ---&gt; Microsoft.Reporting.
  Diagnostics.Utilities.ItemNotFoundException: The item '/Reports/Financial' cannot be found.
  
  Migrating Report: http://SharepointSSRS/bi/Reports/Financial/APPNAME5ReportMaintenance.rdl
  The item '/Reports/Financial' cannot be found. ---&gt; Microsoft.Reporting.
  Diagnostics.Utilities.ItemNotFoundException: The item '/Reports/Financial' cannot be found.
  </code></pre>
  
  <p>...</p>
  
  <p>I had a problem with the command syntax at the beginning, but that seems to be resolved now. Below is the command used: </p>
  
  <pre><code>rs.exe -i c:\it\ssrs_migration.rss -e Mgmt2010 -s http://SharepointSSRS/_vti_bin/ReportServer -v st="bi" -v ts="http://StandaloneSSRS/ReportServer" -v tu="DOMAIN\USERNAME" -v tp="PASSWORD" -t
  </code></pre>