on 04-25-2018 8:38 PM
Exception:
Source: CrystalDecisions.CrystalReports.Engine Message: Load report failed. InnerException: Access is denied. BaseException: Access is denied. HResult: -2146232832
Stack:
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() at
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) at
CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) at
CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() at
CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type) at
CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(Object dataSet) at
NITSSWeb.ReportView.Page_Init(Object sender, EventArgs e)
The Web.Config file adds the following assemblies:
<system.web>
<compilationdebug="true"strict="false"explicit="true"targetFramework="4.6.1">
<assemblies>
<addassembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<addassembly="CrystalDecisions.ReportSource, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<addassembly="CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<addassembly="CrystalDecisions.Web, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<addassembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
and
<system.webServer>
<validationvalidateIntegratedModeConfiguration="false"/>
<handlers>
<addname="CrystalImageHandler.aspx_GET"verb="GET"path="CrystalImageHandler.aspx"type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"preCondition="integratedMode"/>
The CR references are included in the bin directory and referenced as shown in the attachment.
Hi Paul,
Did you read all of the info on the download WIKI page for SP 21 upgrade?
https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads
Did you install the MSI by right clicking on it and select Run As Administrator? It's a must, even if you are the admin you still need to do this.
The MSI installs the CR assemblies into the GAC which is where your references should be using as well, don't browse to the files on your DEV PC, always use the .NET Tab and what is in the GAC which is here: C:\Windows\assembly, now the app will always use it from that location on the App Server with full permissions.
Check your app server for possibly loading a web.config file from some other location, it may still be trying to find to old versions.
Search for them or use ProcessMonitor or Fiddler to see where it's loading from.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.