title: Reports in VS - Data Source instance not being detected?
body: <p>So I have made a dataset and chart in visual studio. I have then added the report viewer to the page and added the datasource instance. But when I run the page I get an error: "A data source instance has not been supplied for the data source 'DataSet1'"</p>
  
  <p>Here is my code for both the sql query which is the datasource instance and the code for the reportviewer.</p>
  
  <pre><code>    &lt;rsweb:ReportViewer ID="rptpassfails" runat="server" Font-Names="Verdana" Font-Size="8pt" ShowBackButton="False" ShowFindControls="False" ShowPageNavigationControls="False" ShowZoomControl="False" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="100%"&gt;
          &lt;LocalReport ReportPath="Reports\chart_passfails.rdlc" DisplayName="dspassfail" ReportEmbeddedResource="Qsis.Reports.chart_passfails.rdlc"&gt;
              &lt;DataSources&gt;
                          &lt;rsweb:ReportDataSource DataSourceId="sqlpassfail" Name="passfail" runat="server"/&gt;
  
            &lt;/DataSources&gt;
          &lt;/LocalReport&gt;
      &lt;/rsweb:ReportViewer&gt;
  
   &lt;asp:SqlDataSource ID="sqlpassfail" runat="server" ConnectionString="&lt;%$ ConnectionStrings:DefaultConnection %&gt;" 
          SelectCommand="SELECT
    StudentModule.StudentPassFailModule
    ,[Module].ModuleCode
    ,Course.CourseName
    ,Course.School
    ,Course.EntryYear
  FROM
    [Module]
    INNER JOIN StudentModule
      ON [Module].ModuleId = StudentModule.ModuleId
    INNER JOIN Course
      ON [Module].CourseId = Course.CourseId
          Where Course.CourseName=@course AND Course.EntryYear=@entryyear"&gt;
          &lt;SelectParameters&gt;
              &lt;asp:QueryStringParameter Name="entryyear" QueryStringField="entryyear" Type="String" /&gt;
              &lt;asp:QueryStringParameter Name="course" QueryStringField="course" Type="String" /&gt;
          &lt;/SelectParameters&gt;
      &lt;/asp:SqlDataSource&gt;
  </code></pre>
  
  <p>Any help on this would be greatly appreciated!</p>