Getting ComException (0x80004005):The system cannot find the file specified

Our customer is getting an error from her remote location via the internet, running a report that has not changed in a year.  None of our other customers are having this problem.  When we sign in from our office with her credentials, we do not get the error.  We've had her reboot, clear cache, etc.  She has tried from Firefox and IE ... same result.
She is running WindowsXP and signs into our website VB program on a 2008Server under IIS aspx.net and SQL Server.  We are using Crystal Reports 2008 v12.2.0.290 full.
The error is:
[COMException (0x80004005): The system cannot find the file specified.
   CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +356
[Exception: Load report failed.]
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +419
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +895
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +84
   nettax.newtax_cr_1.GenerateReport(String Reportname)  in  F:\the cloud nettax with codebehind\nettax\newtax_cr_1.aspx.vb:137
   nettax.newtax_cr_1.page_load(object sender, eventargs e)  in  F:\the cloud nettax with codebehind\nettax\newtax_cr_1.aspx.vb:1316
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Again, we have made no changes ... it has just stopped working for her, yet other remote users are creating the report just fine .... BUT, each has their own SQL database that the report is being created from.  Any help??

I moved your post to the .NET - SAP Crystal Reports forum.
Only idea I have at this time is to get [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] on this. You'll have to download it on to the server. Filter for the worker process so you limit the log size. Then have the customer attempt to load the report. Once she gets the error, you can save the log. Look for any errors re. load of files (DLLs, rpt files, etc.) and also look for "Access Denied" errors on files as well as registries.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Similar Messages

  • [COMException (0x80004005): The system cannot find the path specified.

    VS2008 and Crystal reports on 2003 Server running IIF.
    When I try to use the buttons, Print or Export to PDF, we get the following error:
    A little background, we have move all the crystal reports to what we call a report loader where the loader treverses the SQL tables and inserts the correct connection string to the SQL data server.  Before doing the move, the Export worked but the printing did not work.
    After the change now neither Export or Print works.  Sames error message.
    Stack Trace:
    COMException (0x80004005): The system cannot find the path specified.
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +87
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +279
    CrystalReportsException: Load report failed.
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +342
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +868
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +73
       CrystalDecisions.ReportSource.NonHTTPCachedReportSource.GetReport(RequestContext context, Boolean bAddToCacheWhenCreated) +648
       CrystalDecisions.ReportSource.LocalReportSourceBase.GetReportInfo(RequestContext reqContext) +73
       CrystalDecisions.Web.ReportAgentBase.GetReportInfo() +1045
       CrystalDecisions.Web.ReportAgentBase.get_IsLogOnInfoUsingIntegratedSecurity() +50
       CrystalDecisions.Web.ReportAgentBase.FillReportState(RequestContext request) +53
       CrystalDecisions.Web.CrystalReportViewer.OnExport() +1097
       CrystalDecisions.Web.CrystalReportViewer.RaisePostBackEvent(String eventArgument) +59
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +177
       System.Web.UI.Page.ProcessRequestMain

    Hi, Craig;
    It sounds like you are running into this issue: [CitrixDrive|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313337333933383338%7D.do]
    You do not say which version of Crystal Reports you are using, so the registry key may be different for whichever version you have.
    Regards,
    Jonathan

  • The save for the web function has stopped working in my copy of photoshop elements 12.  I get this message, " The operation could not be completed.  The system cannot find the path specified" Resetting preferences did not fix.

    The save for the web function has stopped working in my copy of photoshop elements 12.  I get this message, “ The operation could not be completed.  The system cannot find the path specified” Resetting preferences did not fix.

    my os is windows 7.  elements 12 worked fine for many months then save for the web stopped working

  • When i do file, save for web, i get an error that says " the operation could not be completed. The system cannot find the path specified." What can fix this?

    when i finish a file and try to "save for web", i get an error box saying The operation cannot be completed. The system cannot find the path Specified.
    What can i do or where do i look?

    ELEMENTS 12 AND ELEMENTS 13
    Upgraded to 13 Thinking might resolve the issue.
    Was working fine up until we had "Tech" come in the office and "up grade some stuff"
    then all of a sudden i started getting this message, something happened but i don't have a clue what.

  • When I open a pdf link I am getting an error "The system cannot find the file specified. " The same link is opened in other browsers.

    I used to open the link" http://supportdocs.sonybiz.net/indexes/pi%5CLFS%5CMay_2004%5C00035186.pdf" in firefox earlier. Now I use version 5.0. Recently I noticed that such links in pdf are not opening with firefox and getting an error that "The system cannot find the file specified. " But the same is opened in other browsers. I do not know whether it is a settings problem or limitation of firefox.
    It is very much helpful if someone can help me in resolving this issue.

    That link has backslashes (%5C) that need to be changed to forward slashes:
    *http://supportdocs.sonybiz.net/indexes/pi/LFS/May_2004/00035186.pdf

  • Iam getting the 'The system cannot find the path specified.' Why?

    C:\Documents and Settings\MPudur\Desktop>cd\
    C:\>cd Training\ATG\ATG10.1.1\home\bin
    C:\Training\ATG\ATG10.1.1\home\bin>startDynamoOnJBOSS.bat -c default -m Demo
    The system cannot find the path specified.
    The system cannot find the path specified.
    Assembly started.
    Target application is C:\Training\jboss-eap-5.1\jboss-as\server\default\deploy\ATG.ear.
    Creating exploded ear file C:\Training\jboss-eap-5.1\jboss-as\server\default\deploy\ATG.ear.
    Initializing...
    Updating C:\Training\jboss-eap-5.1\jboss-as\server\default\deploy\ATG.ear.
    Before make meta-inf file.
    Making meta-inf file C:\Training\jboss-eap-5.1\jboss-as\server\default\deploy\ATG.ear\META-INF
    Creating application.xml...
    Creating Ear file MANIFEST...
    Importing classes...
    Importing classes for module DafEar
    Importing classes for module DafEar.Admin
    Importing classes for module DafEar.base
    Importing classes for module Demo
    Importing classes for module DSS
    Importing classes for module DPS
    Importing classes for module DAS-UI
    Importing classes for module DAS
    Ignoring classpath entry lib/servlet.jar from module DAS
    Ignoring classpath entry lib/jsp-api.jar from module DAS
    Importing classes for module manuals
    Importing J2EE module atg-admin.war declared in DafEar.Admin
    Parsing C:\Training\jboss-eap-5.1\jboss-as\server\default\deploy\ATG.ear\atg_admin.war\WEB-INF\web.xml
    Importing J2EE module atg-bootstrap.war declared in DafEar.base
    Parsing C:\Training\jboss-eap-5.1\jboss-as\server\default\deploy\ATG.ear\atg_bootstrap.war\WEB-INF\web.xml
    Importing J2EE module atg-bootstrap-ejb.jar declared in DafEar.base
    Importing J2EE module demo-web.war declared in Demo
    Parsing C:\Training\jboss-eap-5.1\jboss-as\server\default\deploy\ATG.ear\demo-web.war\WEB-INF\web.xml
    Assembly took 0.922 seconds.
    Calling C:\Training\jboss-eap-5.1\jboss-as\bin\run.conf.bat
    ===============================================================================
    JBoss Bootstrap Environment
    JBOSS_HOME: C:\Training\jboss-eap-5.1\jboss-as
    JAVA: C:\Training\Java\jdk1.6.0_30\bin\java
    JAVA_OPTS: -Xms512m -Xmx1024m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Ds
    CLASSPATH: C:\Training\Java\jdk1.6.0_30\lib\tools.jar;C:\Training\jboss-eap-5.1\jboss-as\bin\run.jar
    ===============================================================================

    You may refer your earlier thread:
    Iam getting the path not specified error,but the jboss was running smoothly

  • Error when running Get-DatabaseAvailabilityGroupNetwork "The system cannot find the file specified."

    Exchange 2013 CU7 on Windows 2012.
    I have a 3 server DAG (newly created) and the EAC lists each server with Is Operational = Yes.
    When I run Get-DatabaseAvailabilityGroupNetwork on any of the 3 servers I get:
    [PS] C:\>Get-DatabaseAvailabilityGroupNetwork
    Could not load file or assembly 'Microsoft.Exchange.Data, Version=14.0.0.0, Culture=neutral,
    PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
        + CategoryInfo          : NotSpecified: (:) [Get-DatabaseAvailabilityGroupNetwork], FileNotFoundException
        + FullyQualifiedErrorId : [Server=<servernameremoved>,RequestId=11e182c9-cb4a-4f48-b985-dc4be7ef97ef,TimeStamp=2/23/20
       15 10:00:53 PM] [FailureCategory=Cmdlet-FileNotFoundException] 586ECE82,Microsoft.Exchange.Management.SystemConfig
      urationTasks.GetDatabaseAvailabilityGroupNetwork
        + PSComputerName        : <servername FQDN removed>
    Any suggestions?

    Try to run below command and see what it shows.
    Get-DatabaseAvailabilityGroupNetwork -server node1.domain.com
    BR/Deepak

  • I use Microsoft Office Professional Plus 2010, when clicking a link in Outlook I always get a General Failure box stating 'The system cannot find the file specified' yet it still goes to the specified page. Any ideas on how to resolve this

    I use Microsoft Office Professional Plus 2010, when clicking a link in Outlook I always get a box stating
    General Failure. The URL was "http:// etc etc".The system cannot find the file specified.
    Yet it still goes to the specified page. Any ideas on how to resolve this

    I am having the exact same problem with Windows 7 Professional. Out of the blue, this issue just started a few months ago when running my monthly Windows Backup where I have used a USB drive for the last 3 years, and never ever had this issue before. Most
    of the solutions listed on the Microsoft websites and answers deal with
    "Restore" functions, not the
    "Backup" itself. I have 3 folders being skipped during the backup.
    So I went and changed the Backup from "let Microsoft choose files, directories, etc" to "Let me choose". I included the files and folders that were being skipped, and ran the "Backup" again, and got the same error message,
    but the files that were skipped the first time were "Backed up" finally. This issue is somehow related to my "Libraries"?
    The 3 backup problems are:
    Backup encountered a problem while backing up file C:\Windows\System32\config\systemprofile\My Audio Books\Audio Book Recordings. Error:(The system cannot find the path specified. (0x80070003))
    Backup encountered a problem while backing up file C:\Windows\System32\config\systemprofile\My Audio Books\Audio Book CD Label-Cover Art. Error:(The system cannot find the path specified. (0x80070003))
    Backup encountered a problem while backing up file C:\Windows\System32\config\systemprofile\My Audio Books\Audio Book MP3 Tag Art. Error:(The system cannot find the path specified. (0x80070003))
    Did a "checkdisk" - no problems. Ran a program to fix registry - no problems. All updates up to date. I guess I could eliminate these folders from the Backup folders in the
    Library, and just choose them under the "Users" locations, and be done with it. But I really want to understand this, and fix it. This is within Windows 7 and may be related to Windows Media Player or
    some recent Windows update.  Thanks.

  • When downloadin​g my printer, I get "the system cannot find the file specified

    My printer all of a sudden did work.  So I decided to update.  Someting went goofy.  So I tried reinstalling, and now when it get to applying updates,  I get the notice "The system cannot find the file specified"  HELP

    Hi,
    Follow the steps below and check if that resolve the issue:
    1. Open Mcafee software, from the Virus and Spyware Protection section click on Schedule and run scans. Click on Real time scanning and then on Turn Off. select till I restart the PC and confirm by clicking the Turn Off button.
    Now try reinstalling the HP Software and check if the installation goes as expected.
    If the issue persists run the following tool:
    ftp://ftp.hp.com/pub/printers/datfileremover/insta​lldatfileclean.exe
    And then run the installation file and check for any difference
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • While creating web application prokect getting error: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

    I am getting error on creating even the empty web application project. The error message is as given below:
    The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
    I am using following build of Visual Studio:
    Visual Studio Professional 2013. Version 12.0.30723.00 Update 3
    Looks like it is the problem with the installation of the visual studio. But I can't take risk of re-installing now because it would stop my going on development work.
    Any would help to resolve this would be appreciated.
    P.S. I am also having Visual Studio 2010 and Visual Studio 2012 Ultimate on my system.
    Regards, Randeep

    Hello Randeep,
    Will you get the same error when creating any other apps, like C# WinForm?
    If only web application project has the problem, you can try the following to reset the templates:
    Please open Windows Explorer, and navigate to  <Visual Studio Installation Path>\Common7\IDE (by default is C:\Program Files \Microsoft Visual Studio 12.0\Common7\IDE);
    Delete the ItemTemplatesCache, ProjectTemplatesCache folder;
    Open Visual Studio Tools/Developer Command Prompt for VS2013
    under Start menu -> All Programs -> Microsoft Visual Studio 2013 -> Visual Studio Tools (run it with Administrator privilege: right-click the program -> Run as administrator);
    Run the devenv /InstallVSTemplates switch;
    Run the devenv /Setup switch
    If all your projects get this error, please try repair the installaiton from control panel first. By the way, can you use Visual Studio Web projects before you get this error? And have you tried to use the Visual Studio Update 4, I see you still used
    Update 3, is there any reason for you to still use the Update 3 version?
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error occurred while getting a schedule list.The system cannot find the fil

    Hi all,
    If i open the "packages shedule status".I am getting error like  "Error occurred while getting a schedule list.The system cannot find the file specified".How to fix this issue?.Anyone have idea please share.
    Thanks in advance
    AD

    Hi Venkii,
    This kind of error message is usually fixed by deleting all entries in tblSchedule table and in tblScheduleHist table in SQL, and then deleting all schedules in the Scheduler server (Control Panel --> Scheduled Tasks)...
    Hope it will help...
    Kind Regards,
    Patrick

  • Getting Error- Desktop\WSDL1\main.wsdl The system cannot find the path spec

    Hai to every one !
    iam using wsdl file which is downloaded "wsdlzip" file from wsnavigator to my desktop.
    Extracted zip file .
    i used main.wsdl file as adaptive webservice model in webdynpro application.
    I developed application then iam not getting output ,  facing error like
    java.io.FileNotFoundException: Desktop\WSDL1\main.wsdl (The system cannot find the path specified)
    could any body help me on this.

    Hi Eswar,
           While importing WSDL using Adaptiver WS did you use the WS destinations. If yes, then did you create WS Destinations in the Visual Administrator?
    You need to provide the url of the webservice in WSDestinations in Visual Administrator. It should be the url of the webservice in which the webservice is deployed and not the desktop URL.
    the url will be like this
    Ex: http://host:50000/OrderRequestForEBasis/Config1?wsdl
    This url you can get by going to
    http://host:port/wsnavigator in which server your webservice is located.
    Thanks,
    Gopi

  • Error message on my development workstation: The system cannot find the file specified.

    Post Author: cseverin
    CA Forum: Crystal Reports
    Hi,
    I am currently developing an ASP.NET website using Visual Studio.NET 2005. I am using the .NET 2.0 framework, VB.NET as my programming language and I connect successfully to a SQL Server 2005 database.  I can select, insert, update and delete data from the database elsewhere in my project, so I know basic connectivity isn't an issue.  The problem seems to be with Crystal Reports. 
    I created a folder called 'Reports' in my project and added a Crystal Report file (OpenFiles.rpt) to it.  I designed the report and initally used a hard-coded SQL query as its datasource so I could quickly get the database fields onto the report and preview them.  All worked fine. 
    To make the report accessible to the rest of the website, I created an .xsd dataset file containing the three tables (and their corresponding tableadapters) that the report requires and then redeveloped the report using the dataset as the datasource for the report.  After doing this, the preview no longer worked.
    Next, I added a page to the website and dragged a Crystal Report Viewer Control onto it.  In the code behind the page I wrote:
    Option Strict On
    Imports System.Data
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Partial Class Reports
         Inherits System.Web.UI.Page
         Private objOpenFilesreport As OpenFilesReport
         Private rptOpenFiles As ReportDocument
         Private strLastErrorMessage As String = Nothing
         Private errLastException As Exception = Nothing
         Dim strFileKey As String
         Dim strJurisdictionCode As String
         Dim strStaffId As String
         Dim strReportId As String
         Private Sub ConfigureCrystalReports()
              Dim reportPath As String = Server.MapPath("OpenFiles.rpt")
              Dim rptopenfiles As New ReportDocument
              rptOpenFiles.Load(reportPath)  <== I checked this during execution and the value correctly points to the OpenFiles.rpt file in the Reports     folder of my project
              Dim ConnectionInfo As ConnectionInfo = New ConnectionInfo()
              ConnectionInfo.DatabaseName = my database
              ConnectionInfo.UserID = login id of user
              ConnectionInfo.Password = user's password
              SetDBLogonForReport(ConnectionInfo, rptopenfiles)
              CrystalReportViewer1.ReportSource = rptopenfiles
         End Sub
         Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
             ConfigureCrystalReports()
         End Sub
         Private Sub SetDBLogonForReport(ByVal ConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
              Dim myTables As Tables = myReportDocument.Database.Tables
              For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
                   Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                   myTableLogonInfo.ConnectionInfo = ConnectionInfo
                   myTable.ApplyLogOnInfo(myTableLogonInfo)
              Next
         End Sub
    End Class
    I added a hyperlink to one of the existing pages on the website to navigate to this page with the report viewer on it.  When I run the website in Visual Studio and click on the hyperlink I get the following:
    Server Error in '/MyTest' Application.
    The system cannot find the file specified.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: The system cannot find the file specified.Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
    &#91;COMException (0x80004005): The system cannot find the file specified.
    &#93;
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +126
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +442
    &#91;Exception: Load report failed.&#93;
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +513
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1378
       CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +149
       CrystalDecisions.CrystalReports.Engine.ReportDocument.get_DataDefinition() +85
       CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ParameterFields() +158
       CrystalDecisions.Web.CrystalReportSource.BindControlParameter(Parameter parameter) +130
       CrystalDecisions.Web.CrystalReportSource.DataBindParameters() +191
       CrystalDecisions.Web.CrystalReportSource.EnsureParameters(Boolean forceDataBind) +90
       CrystalDecisions.Web.CrystalReportSource.LoadCompleteEventHandler(Object sender, EventArgs e) +47
       System.Web.UI.Page.OnLoadComplete(EventArgs e) +96
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4086
    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832 
    Any ideas, anyone?
    Also, assuming I can get past this error, I will need to figure out how to fill the tables in the .xsd dataset file.  I have written a class for the dataset that includes functions that populate the tables in the dataset from the database by executing SQL queries.  But how do I call these functions at the time the report is run?
    This is my first Crystal report written in .NET and I've been struggling with it for days now.  Any help would be most appreciated!
    Thanks very much!
    Chris Severin

    hello, the error message is obviously coming from one of the installed mcafee extensions. please directly contact mcafee technical support - they can likely give you more detailed guidance and are the only ones who can fix bugs or make necessary adjustments in the addon.

  • "The system cannot find the path specified" error

    Hi, Thanks for taking the time and reading.
    I had to update an old report that was made in CrystalReports. I copied the rpt files and pasted them into a csharp solution in VS 2010.
    The report structure is of a Main report and 6 subreports. I have to run this Main report many times and feed it a different integer as a parameter.
    I can preview the report in report viewer perfectly. When i try to export the main report into a pdf format
    i get an exception. I have tried a few different formats and it spews the same error. 
    Oddly enough the export sometimes works if the report i am previewing has the "Save data in the report" check box checked. My guess is that this is cached. Also when i run just the subreports through my application, it works.
    Things i have tried:
      I installed: CRRuntime_64bit_13_0_13
      I installed: CRforVS_13_0_13
      Took a look at the Procmon and i could not find an access denied error
      Event Viewer has no detail.
      Changed Registry values of ConnectionDirectoryPath and ReportDirectoryPath to "c:\"
    Code:
      if (!Directory.Exists(filePath))
      Directory.CreateDirectory(filePath);
      string fileName = filePath + string.Format(GlobalVaraiables.FILE_SAVE_NAME, i);
      cryRpt.SetParameterValue(GlobalVaraiables.FUND_DATA_KEY_PARAMETER, i.ToString());
      cryRpt.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, fileName);
    Error message:
      System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the path specified.
        at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
        at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
        at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
        at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
        at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
        at FundDataPDFSaver.SaveReport.GenerateReports(List`1 l) in C:\Users\user.name.here\Documents\Visual Studio 2010\Projects\FundDataToPDF\FundDataPDFSaver\SaveReport.cs:line 74
    System Details:
    Windows 7 Enterprise N  64 bit
    ServicePack 1
    IDE:
    Visual studio 2010 .Net framework 4
    Application is set to run as "Any CPU"
    CrystalReports :
      dll's: C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.CrystalReports.Engine.dll
        C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.ReportSource.dll
        C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.Shared.dll
    Thanks for your help

    I don't see where you're ever setting the logons for the tables in the report and subreports.  The reports with saved data are working because they already have data in them.  The reports without saved data are not working because they don't know how to connect to the database.
    See the Database section here Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki for more information about how to set the logons.
    -Dell

  • Load Report Failed : The System cannot find the path specified

    Hi,
    I have a .Net windows application and I'm using crystal report in that. Application is published in CITRIX. If I login as Administrator user, reports are generating fine.
    But for any other user i'm getting following error while trying to open crystal report
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the path specified.
       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 castlegate.frmFormB.frmFormB_Load(Object sender, EventArgs e) in C:\MyFolder\My Projects\castlegate_with_setup\castlegate\frmFormB.vb:line 401
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
       at System.Windows.Forms.Control.set_Visible(Boolean value)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.RunDialog(Form form)
       at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
       at System.Windows.Forms.Form.ShowDialog()
       at castlegate.frmViewEnquiry.btnPrint_Click(Object sender, EventArgs e) in C:\MyFolder\My Projects\castlegate_with_setup\castlegate\frmViewEnquiry.vb:line 340
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Expecting solution to above issue
    Regards
    NistPS

    Hi,
    See the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/Rules%20of%20Engagement]
    What version of Crystal Reports are you using?
    Visual studio version you have?
    Have you applied any servcie pack?
    Is this on your development computer or on a deployed computer?
    If on a deployed system, how was the CR runtime installed to that system?
    Regards,
    Shweta

Maybe you are looking for