Last post May 05, 2018 11:02 PM by TRIMS30
May 05, 2018 03:28 AM|TRIMS30|LINK
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"
ToolPanelWidth="200px" Width="1104px" />
<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
<Report FileName="Sample.rpt"> </Report>
May 05, 2018 11:02 PM|TRIMS30|LINK
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