Web.config.
<configSections>
<sectionGroup name="businessObjects">
<sectionGroup name="crystalReports">
<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
</sectionGroup>
</sectionGroup>
</configSections>
<businessObjects>
<crystalReports>
<crystalReportViewer>
<add key="resourceURI" value="~/crystalreportviewers13" />
</crystalReportViewer>
</crystalReports>
</businessObjects>
Following are the solutions :
- Copy the folder "crystalreportviewers12" from “C:Inetpubwwwrootsystem_web2_0_50727" under “Default Website” to the “Custom Website” directory in IIS. Or, create a virtual directory pointing ‘aspnet_client’ folder in the custom web site directory.
- In the IIS Manger, select the Application Pool and Basic Settings. Under Managed Pipeline Mode, change Integrated Mode to Classic Mode.
- The value of resoureURI should be "~/crystalreportviewers12" not "/crystalreportviewers12".
- Copy the CrystalReportViewers12 folder from
"C:Program FilesBusiness ObjectsCommon4.0" and paste it to "C:WindowsMicrosoft.NETFrameworkv3.5ASP.NETClientFiles".
Note: Framework may vary as per the Visual Studio version used.
No comments:
Post a Comment