title: ReportViewer Not working correctly after site published
body: <p>Problem:</p>
  
  <p>We have a asp.net reportviewer that is dynamically assigned a dataset to the .rdlc, on my localmachine it works perfectly fine, when we publish to the webserver and attempt to run it an error occurs.</p>
  
  <p>Error:</p>
  
  <pre><code>An error occurred during local report processing.
      The report definition for report 'C:\Program Files (x86)\Acumatica ERP\WRIGHTACUMATICA\rErrorCompilation.rdlc' has not been specified
          Could not find file 'C:\Program Files (x86)\Acumatica ERP\WRIGHTACUMATICA\rErrorCompilation.rdlc'.
  </code></pre>
  
  <p>Additional Information:</p>
  
  <p>The directory specified in the error is not on the server.
  temp is the dataset being assigned.</p>
  
  <p>C#:</p>
  
  <pre><code>this.rvErrorCompilation.Reset();
                      this.rvErrorCompilation.LocalReport.ReportPath = Server.MapPath("~/rErrorCompilation.rdlc");
                      ReportDataSource rds = new ReportDataSource("dsErrorCompilation", temp);
                      this.rvErrorCompilation.LocalReport.DataSources.Clear();
                      this.rvErrorCompilation.LocalReport.DataSources.Add(rds);
                      this.rvErrorCompilation.DataBind();
                      this.rvErrorCompilation.LocalReport.Refresh();
  </code></pre>
  
  <p>Asp.Net:</p>
  
  <pre><code>&lt;rsweb:ReportViewer ID="rvErrorCompilation" runat="server" Width="100%"&gt;
              &lt;LocalReport ReportPath="rErrorCompilation.rdlc"&gt;
              &lt;DataSources&gt;
                  &lt;rsweb:ReportDataSource /&gt;
              &lt;/DataSources&gt;
          &lt;/LocalReport&gt;
              &lt;/rsweb:ReportViewer&gt;
  </code></pre>
  
  <p>Question:</p>
  
  <ol>
  <li>Why is this happening?</li>
  <li>How may I fix it?</li>
  </ol>