Hi,
I want to use Crystal Reports in my asp.net application. I get this error:
###
CrystalDecision s.CrystalReport s.Engine.LogOnE xception: Logon failed.
###
I have read this solution and then I applied solution:
http://support.microsoft.com/default...en-us%3B319264
But I still get logon exception.
Is there any other solution?
My Code:
############### ############### ############### #
RL.ReportFiles. Test002 crReportDocumen t = new RL.ReportFiles. Test002();
TableLogOnInfo crTableLogOnInf o = new TableLogOnInfo( );
ConnectionInfo crConnectionInf o = new ConnectionInfo( );
//Crystal Report Properties
CrystalDecision s.CrystalReport s.Engine.Databa se crDatabase;
CrystalDecision s.CrystalReport s.Engine.Tables crTables;
crConnectionInf o.ServerName = "SAKBULAK";
crConnectionInf o.DatabaseName = "BIZDESKDB" ;
crConnectionInf o.UserID = "BIZDESK_login" ;
crConnectionInf o.Password = "bizsengokdesk" ;
crDatabase = crReportDocumen t.Database;
crTables = crDatabase.Tabl es;
foreach(Crystal Decisions.Cryst alReports.Engin e.Table crTable in crTables)
{
crTableLogOnInf o = crTable.LogOnIn fo;
crTableLogOnInf o.ConnectionInf o = crConnectionInf o;
crTable.ApplyLo gOnInfo(crTable LogOnInfo);
}
reportViewer.Re portSource = crReportDocumen t;
############### ############### ############### #
--
_______________ _______________
Åženol Akbulak