The report definition for report...has not been specified Could not find file...

Discussion in 'ASP.NET / ASP.NET Core' started by jim.williams46, Sep 5, 2008.

  1. I can not get a simple report to run on my web page. I get the following error.


    <LI style="DISPLAY: inline; FONT-WEIGHT: normal; FONT-SIZE: 8pt; FONT-FAMILY: Verdana">An error occurred during local report processing.
    <LI style="DISPLAY: inline; FONT-WEIGHT: normal; FONT-SIZE: 8pt; FONT-FAMILY: Verdana">The report definition for report 'E:\web\weavetogeth\htdocs\Person\Report1.rdlc' has not been specified
    <LI style="DISPLAY: inline; FONT-WEIGHT: normal; FONT-SIZE: 8pt; FONT-FAMILY: Verdana">Could not find file 'E:\web\weavetogeth\htdocs\Person\Report1.rdlc'.


    <LI style="DISPLAY: inline; FONT-WEIGHT: normal; FONT-SIZE: 8pt; FONT-FAMILY: Verdana">
    <LI style="DISPLAY: inline; FONT-WEIGHT: normal; FONT-SIZE: 8pt; FONT-FAMILY: Verdana"> This report runs on my local machine but when I deploy it to my website it causes an error.
    <LI style="DISPLAY: inline; FONT-WEIGHT: normal; FONT-SIZE: 8pt; FONT-FAMILY: Verdana">
    <LI style="DISPLAY: inline; FONT-WEIGHT: normal; FONT-SIZE: 8pt; FONT-FAMILY: Verdana">
    <LI style="DISPLAY: inline; FONT-WEIGHT: normal; FONT-SIZE: 8pt; FONT-FAMILY: Verdana">I placed a MicrosoftReportViewer on a web page. I assigned a report to the viewer. That's it. Simple enough but it does not run.
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. Mark, wisemx, found the solution to my problem. The solution was the following code snippets:

    EnableSessionState='True' EnableViewState='true' Async='false'

    AsyncRendering='false'


    <%@ Page Language='VB' EnableSessionState='True' EnableViewState='true' Async='false' %>
    <rsweb:ReportViewer AsyncRendering='false' ID='ReportViewer1' runat='server'>

    Thanks for all the help.
    Jim
     

Share This Page