[Solved] ASP.Net Crystal Report Error: The specified file can not be found

on Aug 29, 2022 05:51 AM

Hi admin

i have a website using asp.net and vb.net work fine 

only the crystal report got error i installed the runtime on the server and i got error 

this is the error 

[COMException (0x80004005): The specified file can not be found.
   CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +126
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +332

[CrystalReportsException: Echec du chargement du rapport]
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +520
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1495
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +99
   WebApplication11.Inventaire.Button1_Click(Object sender, EventArgs e) in C:\Users\m.houssem\source\repos\WebApplication11\WebApplication11\Inventaire.aspx.vb:218
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +11762420
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +150
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5028
the line is 'Dim crystalReport As New ReportDocument()'

how i can fix and run the crystall report at client side

please help

Download FREE API for Word, Excel and PDF in ASP.Net: Download
on Aug 29, 2022 05:53 AM

Hi mahjoubi,

Your path for the Report file is not correct or you might have not permission to the file.

Make sure it does have access to where the file is located.

And make sure you are installing the correct crystal reports runtime on the server i.e. 32 or 64 bit.