Symptom
After entering the parameters into the Crystal Reports web form viewer, message box appears as "ERROR: Report Application Server Failed."
Environment
- Visual Studio 2012
- SAP Crystal Reports, developer version for Microsoft Visual Studio
Cause
The web.config file does not have the proper <configSections> and <businessObjects> tag to view the Crystal Reports.
Resolution
Add the following configSections and businessObjects tag in the web.config file:
<configSections>
<sectionGroup name="businessObjects"> <sectionGroup name="crystalReports">
<section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13
.0.2000.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="~/crystalreportviewers13" />
</crystalReportViewer>
</crystalReports> </businessObjects>
Keywords
.net sdk, reportsource. , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem
Product
SAP Crystal Reports, developer version for Microsoft Visual Studio