2
Answers

Crystal Report Exception

RAHUL KESHRI

RAHUL KESHRI

10y
4.1k
1
How to get rid off this Exception?
 
 
An exception of type 'CrystalDecisions.CrystalReports.Engine.LogOnException' occurred in CrystalDecisions.ReportAppServer.DataSetConversion.dll but was not handled in user code
Database logon failed.
 
Plz help. Its urgent. (Getting this Exception in Line no: 3)
 
case "XLSD":
{
crs.ReportDocument.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.ExcelRecord, Server.MapPath("/Files/") + Profile.CRExportFile + ".xls");
crs.ReportDocument.Close();
crs.ReportDocument.Dispose();
crs.Dispose();
Response.Redirect("/files/" + Profile.CRExportFile + ".xls");
break;
}
 
 
 
 
Answers (2)