on 09-09-2008 11:58 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.