title: Reporting Services Deployment Problem Deploying from VS 2005 to RS 2008
body: <p>I've got a report that works perfectly in development previews. But when I deploy I get the following error:</p>
  
  <p>In the Dev Environment the Error displayed is:</p>
  
  <blockquote>
    <p>Error 4   The data source 'myDataSource'
    cannot be found.  c:\reporting services
    projects\reports\rest_of_path\my_report.rdl
      0   0</p>
  </blockquote>
  
  <p>On the reporting services side the error it shows is:</p>
  
  <blockquote>
    <p>The data source connection information
    has been deleted.
    (rsInvalidDataSourceReference)</p>
  </blockquote>
  
  <p>By itself the datasource deploys just fine and it's present on the server so it doesn't make sense that it "can't find" it.  What is going on? </p>
  
  <hr>
  
  <p>P.s. I found a way to make it work on the server by manually assigning the datasource link that's lost in deployment.  But I'd rather not have to do this every time I deploy a new report.</p>
  
  <ol>
  <li>go to Report Manager(http:///reports/pages/Folder.aspx)</li>
  <li>Click on the Folder in which u have reports</li>
  <li>U will be directed into contents tab where u will find Show Details at the right top corner</li>
  <li>Click on Show Details</li>
  <li>Check in the particular report and click the edit button corresponding to it</li>
  <li>Go to the properties tab and click on it</li>
  <li>U will find a menu on left hand side, click on Data Sources link</li>
  <li>There u will find radio button selected for A share data source(by default) and a browse button.</li>
  <li>Click on the browse button u will find the tree structure of the datasource and the reports folder.</li>
  <li>select the datasource in the datasource folder and select OK.
  (From a post on <a href="http://social.msdn.microsoft.com/forums/en-US/sqlreportingservices/thread/622dc981-4378-4331-b2fc-e377660464df/" rel="nofollow noreferrer">http://social.msdn.microsoft.com/forums/en-US/sqlreportingservices/thread/622dc981-4378-4331-b2fc-e377660464df/</a>)</li>
  </ol>