Last post May 19, 2010 04:43 PM by jnarendrula
May 12, 2010 02:36 PM|ashiqf|LINK
while creating the asp.net website application i tried using visual studio 2005
file-->new -->website-->asp.net crystalreports website -->
and later Created a Crystal report graph which on preview shows data along with Default.aspx as another option for displaying reports but when i try the report from URL
The Report Chart is not displayed which is visible in preview of reports but not on the browser do i need to have an .dll as reference to the vs project .
What am i missing ?
using CrystalDecisions.CrystalReports.Engine; // The only really nessesary I guess !
public partial class CrystalReportGraph : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
protected override void OnPreRender(EventArgs e)
ReportDocument report = new ReportDocument();
//report.SetDatabaseLogon("username", "pwd", @"server", "database");
rptviewer.ReportSource = report;
May 13, 2010 08:32 AM|ashiqf|LINK
Any Help guys..
The chart is not getting displayed, i just get an x mark.
My Aspx code is:
<form id="form1" runat="server" style="background: lightgreen;">
<table cellpadding="0" cellspacing="0" width="100%">
<asp:Button ID="Sample1" runat="server" Text="Advanced Layout Report" OnClick="Sample1_Click" />
<CR:CrystalReportViewer ID="rptviewer" DisplayGroupTree="False" runat="server" AutoDataBind="true" />
May 14, 2010 01:55 PM|Chintan Dave|LINK
well it is not depending upon this code that u posted.
it is depending on Crystal Report.rpt file.
May 14, 2010 02:04 PM|Chintan Dave|LINK
well i have a book. There is all thing For charts in Chapter 3. u can get ebook of this book.
May 14, 2010 02:07 PM|Chintan Dave|LINK
u can download the souce code, displaying in Book in each chapter/lesstion from this link.
May 14, 2010 02:13 PM|ashiqf|LINK
THanks for your Help on this. I have the RPT file which displays the chart on Preview but on the webpage its not getting displayed. If you need the RPT file i can send it.
May 14, 2010 03:02 PM|Chintan Dave|LINK
ya u can send me on my id. u can get my id from my profile.
May 19, 2010 04:43 PM|jnarendrula|LINK
I resolved the Crystal Chart issue by Enabling ASP.NET Impersonation and Windows Authentication. Also I disabled the default Anonymous Authentication. All
these settings I made it for Authentication under Crystalreportviewers virtual directory in IIS manager.