I am using visual studio 2008 and i am having issue with crystal reports. When i clicks on print button it takes me to the popup with no page found. Popup url is
http://localhost/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer4/html/crystalexportdialog.htm
I have checked that crystalexportdialog.htm file exists on this path: C:\Windows\Microsoft.NET\Framework\v2.0.50727\ASP.NETClientFiles\CrystalReportWebFormViewer4\html\crystalexportdialog.htm
This is my code on page_load event.
ReportDocument rptDoc = new ReportDocument();
ReportProjectProperties ds = new ReportProjectProperties();// .xsd file name
DataTable dt = DbUtility.GetProjectWorksheets(15);
ds.Tables[0].Merge(dt);
// Your .rpt file path will be below
rptDoc.Load(Server.MapPath("../Reports/report1.rpt"));
//set dataset to the report viewer.
rptDoc.SetDataSource(ds);
CrystalReportViewer1.ReportSource = rptDoc;
Thanks.