Hi All,
I am new to Crystal Reports.. i want to load .rpt file from C# windows application.......i created a form and added crystal report viewer and i tried to load the .rpt file giving following error.
And this rpt file loading in anther machine in our office with same windows application. The same things are installed in my system. My OS is Windows XP, Crystal Reports 2008 with SP2 .version 12.2.0.29 , .Net 3.5 and Visual Studio 2008.
Can any one help me on this problem?
Error is
-
-
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x8004100B):
Error in File MIS-1 {C8826C27-9E57-43D4-8D53-45E46CC45725}.rpt:
Failed to logon to the Crystal Report Object Repository. at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() --- End of inner exception stack trace --- at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) at CrystalReportGeneration.Form1.btnViewData_Click(Object sender, EventArgs e) in E:\Prasad\Projects\eFile\CrystalReportGeneration\CrystalReportGeneration\Form1.cs:line 82
Inner Exception is
-
-
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) at CrystalReportGeneration.Form1.btnViewData_Click(Object sender, EventArgs e) in E:\Prasad\Projects\eFile\CrystalReportGeneration\CrystalReportGeneration\Form1.cs:line 82
-
OK
-
Advance Thanks,
Prasad Sagala