title: MVCReportViewer error loading subreport
body: <p>I have a MVC4 application using MVCReportViewer to load a reporting, however the subreport is not loading and it returns this error: </p>
  
  <pre><code>Data retrieval failed for the subreport, 'Actions', 
  located at: C:\Projects\Report\ReportActions.rdlc. 
  Please check the log files for more information.
  </code></pre>
  
  <p>Here is my view code:</p>
  
  <pre><code>@using Microsoft.Reporting.WebForms;
  @using MvcReportViewer;
  @using MvcReportViewer
  @model ViewReport
  
  @Html.MvcReportViewerFluent(Model.ReportPathTordlc).ProcessingMode(ProcessingMode.Local).LocalDataSource(Model.ReportDataSet, Model.Report).LocalDataSource(Model.ActionDataSet, Model.Actions).Attributes(new { Height = 900, Width = 800, style = "border: 2px solid #ddd" }).Method(FormMethod.Post);
  </code></pre>
  
  <p>The path to both .rdlc files are correct as I check it on the controller before load the view.</p>
  
  <p>The reportPathTordlc displays right, 
  I have a parameter to check against, so in my report.rdlc I inserted subreport with parameter. On the subreport I created a parameter. but still the subreport not showing.</p>
  
  <p>On log files from <code>C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\LogFiles</code> doesn't show any error, it only display this: <code>i INFO: Call to CleanBatch()</code>. </p>
  
  <p>Search everywhere and didn't get luck yet.</p>
  
  <p>Project from <a href="https://github.com/ilich/MvcReportViewer" rel="nofollow">here</a></p>
  
  <p>Any help would be appreciated.</p>