A document processed by the JRC engine cannot be opened in the C++ stack

前端 未结 13 1676
没有蜡笔的小新
没有蜡笔的小新 2020-12-05 10:00

I have created a crystal report in vs2010 with .net4.0. when I publish the website it throws the error \"A document processed by the JRC engine cannot be opened in C++ stack

相关标签:
13条回答
  • copy and paste the folder (aspnet_client) from the (C:\inetpub\wwwroot) to the website folder and make sure that the .rpt file is in the same folder

    0 讨论(0)
  • 2020-12-05 10:30

    this work for me

    1. Right click the Rpt file.
    2. Choose the properties
    3. Changed

      a. Build Action as "Content"

      b. Copy to Output Directory as "Do not Copy"

      c. Put Empty for Custom Tool and Custom Tool Namespace

    0 讨论(0)
  • 2020-12-05 10:30

    Making sure the file path is correct like @serop mentioned. Also i have noticed where reports folder wouldn't get published. So had to manually publish the report folder.

    0 讨论(0)
  • 2020-12-05 10:32

    Just copy the .rpt file (crystl report template ) from local machine to specific server/machine's folder and I am prey sure you can run resolve the issue CrystalDecisions.Shared.CrystalReportsException: Load report failed.

    For me it worked well and no error on server side. My application is able to store pdf file to share path according the code.

    0 讨论(0)
  • 2020-12-05 10:33

    Found out the solution, I was First using Visual Studio 2005 with its own crystal report and then i upraded to VS2010 with seperate crystal report which i downloaded from SAP. I researched and found from SAP:

    As each version of Crystal Reports has its' own specific runtime which must be correctly deployed, it is critical that the deployed runtime be in agreement with the Crystal Reports assemblies for Visual Studio .NET referenced in your project.

    so i uninstaller pervious version and used only one version and it worked. :) thanks ta.speot.is for your concern. It was never a coding problem.

    0 讨论(0)
  • 2020-12-05 10:33

    This just happened to me and after hours of headache I found it was a file permissions issue. For some reason when copying from our CR dev server to the shared custom .rpt directory the permissions on the file were all jacked up and I had to add permissions for several user groups back to the file.

    0 讨论(0)
提交回复
热议问题