Asp.net Crystal报表不在浏览器中呈现
我正在使用VS2012。Crystal report不会在web浏览器中呈现/显示。 我正在使用以下代码Asp.net Crystal报表不在浏览器中呈现,asp.net,crystal-reports,Asp.net,Crystal Reports,我正在使用VS2012。Crystal report不会在web浏览器中呈现/显示。 我正在使用以下代码 <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True" GroupTreeImagesFolderUrl="" Height="1202px" ReportSourceID="CrystalReportSource1" ToolbarImagesFolderUrl="" T
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True" GroupTreeImagesFolderUrl="" Height="1202px" ReportSourceID="CrystalReportSource1" ToolbarImagesFolderUrl="" ToolPanelWidth="200px" Width="1104px" />
<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
<Report FileName="Test.rpt">
</Report>
</CR:CrystalReportSource>
当我在浏览器中运行它时,只显示空白页。我在互联网上找不到任何解决方案,在这方面需要帮助….您尝试过这个吗?我遵循了上面链接中给出的说明,然后得到了以下错误,HTTP错误500.19-内部服务器错误
protected void Page_Load(object sender, EventArgs e)
{
ReportDocument rptDoc = new ReportDocument();
rptDoc.Load(Server.MapPath(@"~/Test.rpt"));
CrystalReportViewer1.ReportSource = rptDoc;
}