SAP Knowledge Base Article - Public

2015092 - Crystal Reports for Visual Studio SP 9 broke Crosstab WEB viewing

Symptom

 Crystal Reports for Visual Studio SP 9 broke Crosstab viewing

Environment

  • Crystal Reports for Visual Studio SP 9
  • Visual Studio 2010
  • Visual Studio 2012
  • Visual Studio 2013

Reproducing the Issue

public partial class _Default : System.Web.UI.Page
{

    protected void Page_Load(object sender, EventArgs e)
    {
         // Note: Do not load CR report or runtime in Page_load - to properly initialize all components it should be done in the Page_Init section

    }

    protected void Page_Init(object sender, EventArgs e)
    {
        CrystalDecisions.CrystalReports.Engine.ReportDocument rd;

        rd = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
        string url = "/inetpub/wwwroot/WebSite3/CrossTab.rpt";


        rd.FileName = url;
        rd.Load(url);

        System.Data.DataSet ds = new System.Data.DataSet();
        ds.ReadXml(@"C:\inetpub\wwwroot\WebSite3\SalesData.xml", XmlReadMode.ReadSchema); // SalesDataSmall
        rd.SetDataSource(ds);

        CrystalReportViewer1.ReportSource = rd;
    }
}

Cause

This issue has been escalated with ADAPT01726274 to the Developers and currently set for SP 10.

Resolution

 The issue is resolved in Support Pack 10 for SAP Crystal Reports, Developer Version for Visual Studio .NET.

 

Keywords

Crystal Reports for Visual Studio, CRforvs, Crosstab, WEB, WEB viewing crvs vr4vs 2010 2012 2013 , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio