Making Dataset in Website giving problem
When I try to make Crystal Report through Dataset,it makes it in new project but it don't make it in website. What can be the problem
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Mamta MRank #268 · 9.4K reputationPosted Oct 16, 2011, 8:39 PM EDT
Monika AroraRank #3,013 · 478 reputationPosted Oct 16, 2011, 11:10 PM EDT
Dhaval PatelRank #1,023 · 1.9K reputationPosted Oct 17, 2011, 4:06 AM EDT
Are you add in your aspx page
<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"
Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
or in web.config
and declare crystal report control
write code in page_load
protected void Page_Load(object sender, EventArgs e)
{
ReportDocument crystalReport = new ReportDocument();
crystalReport.Load(Server.MapPath("CrystalReport.rpt"));
crystalReport.SetDatabaseLogon
("amit", "password", @"AMIT\SQLEXPRESS", "TestDB");
CrystalReportViewer1.ReportSource = crystalReport;
}