Crystal Reports First Project RRS feed

  • Question

  • User-72198832 posted

    Am new to Crystal Reports/Asp.Net and need some help getting started.

    I have my Data on SQL Server, have created a DataSet.

    Have also created a sample.rpt using data from my DataSet.

    Am able to see my report and my data on "Main Report Preview"

    Have created a SAMPLE.ASPX page and added the CrystalReportsViewer bound to sample.rpt and am able to see my report on the SAMPLE.ASPX form in Design mode.

    When I try to run the program I get a blank sample.aspx form displayed in browser.

    I did add CrystalReportViewer1.DataBind() in the codebehind page_load event.

    Im stuck at this point - what am I missing?

    Help is appreciated.


    Here's my aspx form designer code..

        <form id="form1" runat="server">
           <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" 
                Height="1202px" ReportSourceID="CrystalReportSource1" 
                ToolPanelWidth="200px" Width="1104px" />
            <br />
             <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
                <Report FileName="Sample.rpt"> </Report>

    Saturday, May 5, 2018 3:28 AM


  • User-72198832 posted

    Found Solution

    Program was looking for aspnet_client folder in my project root folder.

    It was not there, found it in intetpub\wwwroot

    copied the folder to my project root and all is well now.

    Hope this helps someone else.

    Win 10 - Visual Studio 2012 - Crystal Reports 13.0.20

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, May 5, 2018 11:02 PM