Cause The Crystal Reports viewer folder is not configured correctly The default CR runtime install (MSM or MSI) will only configure the viewer for a default application pool When using a custom application pool, the viewer must be configured manually Resolution Copy the folders under "\inetpub\wwwroot\aspnet_client\" and paste them under the root of the custom web site Add the following to the application web.config file: <configSections> <sectionGroup name="businessObjects"> <sectionGroup name="crystalReports"> <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler"/> </sectionGroup> </sectionGroup> </configSections> <businessObjects> <crystalReports> <crystalReportViewer> <add key="UseBrowserLocale" value="true"/> <add key="resourceURI" value="~/aspnet_client/system_web/4_0_30319/crystalreportviewers13" /> </crystalReportViewer> </crystalReports> </businessObjects>
Cause This error message appears because application is not able to find crystalreportviewers13 folder. Resolution Add below lines in web.config of the web application. <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>
DataSet
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)