Last post Mar 02, 2011 01:55 AM by santoshpabba
Feb 26, 2011 02:51 PM|santoshpabba|LINK
I have recently tried to develope a crystal report using a clss file, like passing the class variable into report file. Passing the values and displaying was successful but when i click on the printer button or Export button in Crystal report viewer in
my Aspx page, It is asking for Database name,Suser id and password for the Class file and which i never assigned and no there is no database to the class ... It is not allowing me to take the print out of the page...
Kindly help me ... This is the first appliction i ever tried
Thanks in advance......
Feb 27, 2011 10:28 PM|necro_mancer|LINK
you mentioned that your reports require no database, however, how can it throws an error message "Incorrect Login"? This is just absurd.
Usually, if your application cannot find the database, it will throw "Network Unspecified", "Database cannot be found" error message, not Incorrect login.
Feb 28, 2011 12:55 AM|santoshpabba|LINK
Thanks for your reply....
pls see the below link ... here i have uploaded my program as it is not supporting for the attachment of files...
Feb 28, 2011 11:39 PM|necro_mancer|LINK
I cannot open your attachment.
I would suggest you to just copy the connection string used here so that other forum members can help you as well
Mar 01, 2011 12:05 AM|morefays|LINK
This very common problem also if you have two pages when you press next it aslo gives you same error.To solve this problem through provide the database login information to crystal report .If you have already provided the database information to crystal
report and same error shown then you have two way to solve this problem first and best approach instead to show report in report viewer you can export into pdf file and then show it.Second provide the database login information also in page load and bind
the report means two time you bind the report first when button click to show report second on page load then it will solve the problem.How to provide database login information to crystal report check this link
Mar 01, 2011 12:08 AM|morefays|LINK
If you bind through class then you bind it two time page load and button click then it will work fine.
Mar 02, 2011 01:55 AM|santoshpabba|LINK
Thank You very much for your help.......Its working Well now