![]() |
|||
Help Required For Crystal Reports
By: rekha singh | 18 Jan 2010 5:19 pm
I am working on crystal reports and I am new to it. I made a report using Visual Studio 2003. First I created an XSD file, which contains definition of the table, I need for the report, Then a page which will create query and fill the dataset and will display query result in the report viewer. My code is some thing like this:
MyReports.rpts. report1 report = new MyReports.rpts. report1() ;
report.SetDataSourc e(ds);
report.SetDatabaseL ogon("userid","password");
CrystalReportViewer 1.ReportSource = report;
CrystalReportViewer 1.DataBind( );
If the query returns approx 45,000 records, the report executes fine, but if number of records goes to about 60,000, I get following exception
Logon failed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: CrystalDecisions. CrystalReports. Engine.LogOnExce ption: Logon failed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
For More the 60,000 records
If I run this same query, it return result but when I want to display this result on crystal report viewer, I get above exception.
Any help from any of you would be grateful for me.
Thanks and Regards;
|
