on 12-24-2021 2:49 PM
Hello,
I migrated an Asp, netapplication with Visual studio 2019 and the framework .Net 4.8 , the application used Crystal Report as a reporting tool.
Indeed, when viewing a report with CrystalReportViewer, an error is generated and the report is not displayed properly, bellow the error:
"The file '/CrystalImageHandler.aspx' does not exist."
Do you have any idea on the source of this error?
Thank you for your reply
The error is resolved, here is how it was done for those who may encounter the same problem
Go to the location C:\Program Files (x86)\Business Objects\Common\3.5 and opy the folder crystalreportviewers115 to the root directory of the project.
And then update the web.config file like tis way:
<configuration>
<configSections>
<sectionGroup name="businessObjects">
<sectionGroup name="crystalReports">
<section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null" />
<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
</sectionGroup>
</sectionGroup>
</configSections>
<businessObjects>
<crystalReports>
<rptBuildProvider>
<add embedRptInResource="true" />
</rptBuildProvider>
<crystalReportViewer>
<add key="ResourceUri" value="/gspm/crystalreportviewers115" />
</crystalReportViewer>
</crystalReports>
</businessObjects>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<add name="CrystalImageHandler.aspx" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
</handlers>
</system.webServer>
</configuration>
Wishing good work
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.