|
Hi i am getting this error after running my program
Server Error in '/crystalReport1' Application.
--------------------------------------------------------------------------------
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.LogOnException: Logon failed.
Please solve it.
Regards,
eshwar_gp
|
|
|
Hi, I solved my problem myself. :))
My database server is in remote system. That is why i get that problem.
Given code will work if the database server is in your system
Customers custReport1 = new Customers();
CrystalReportViewer1.ReportSource = custReport1;
for remote database server we have to add
-----------------------------------------
custReport1.SetDatabaseLogon ("username", "password");
in between those 2 lines.
Thank you.
eshwar_gp
|
|
|
hi,
i have the same problem with crystalreports in asp using c#.
im using windows 2000 pro, sql2k devoloper and .net 2002.
im not getting the qReport.SetDatabaseLogon() method at all. i get a compile time error that says it does not contain a definition for SetDatabaseLogon.
please help.
|
|
|
Dont try anything other than installing service pack for Crystal reports for visual studio .net.
Mandar
|
|
|
I was troubling with the same problem. Thanks for the posting.
|
|
|
Hello,
First of all sorry my bad english.
I have a problem, i am working with asp.net 1.1 and crystal 11.
When I try to show the report with the form that you say, only show me 4 colunms of 6, show the columns 1, 2, 3, 6.
The columns 4 and 5 don't appear...
When I show the report in the preview of crystal report, its work fine, show all the colunms...
Sandy
|
|
|
Hello there This is due to different type of dataset you are passing to report its better to use xml schema as a dataset Like Dim oDataset as new dataset oDataset.Writexmlschema(path as string) now rebind your report from the that XML file. That would resolved your problem Thanks Regard Muhammad Adil Software Engineer Itlinksolutions.com
|
|
|