cancel
Showing results for 
Search instead for 
Did you mean: 

System.Runtime.InteropServices.COMException: No error.

Former Member
0 Kudos

Getting this error while integrating Crystal OLAP Cube report with asp.net using the below code :

using System;

using System.Data;

using System.Configuration;

using System.Web;

using System.Web.Security;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Web.UI.WebControls.WebParts;

using System.Web.UI.HtmlControls;

using CrystalDecisions.Enterprise;

using CrystalDecisions.CrystalReports.Engine;

using System.IO;

using CrystalDecisions.Shared;

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

{

protected void Page_Load(object sender, EventArgs e)

{

CrystalDecisions.CrystalReports.Engine.ReportDocument doc = new CrystalDecisions.CrystalReports.Engine.ReportDocument();

// doc.Load(@"D:\VenueOLAP.rpt");// (OLAP Cube Report)

doc.Load(@"D:\VenueUsage.rpt");// (Standard Report)

}

}

Thanks in advance,

Bhoopathi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello, Bhoopathi;

You should be able to view a report based on an OLAP cube through Visual Studio .NET if the database driver is available and if you do not try to change the location of the database at runtime. The location of the OlaP cube would have to be as it is saved in the report.

What version of Crystal Reports and Visual Studio are you using for your web application?

Elaine

Answers (0)