Friday, December 14, 2012

Crystal Report Issue with IIS - ( bobj is undefined , Crystal report not displaying )

Some time ago i had a issue with crystal reports which is the report is not displaying and a javaScript error is shown "bobj is undefined" following the below steps solved the issue.

1. You need to use Web Application Project,No Website Project because Web App will combine DLL to project also.

2. Copy C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13 (you'll got it when you install -CRforVS_redist_install_32bit_13_0.exe)   To your project such as  (ProjectName/crystalreportviewers13)

3. copy this below to your web.config


    <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" />

          <add embedRptInResource="true" />
              <add key="ResourceUri" value="/crystalreportviewers13" />

No comments:
Write comments
Recommended Posts × +