1691356 - Error Message: "Bobj is undefined" during deployment of ASP.NET application.

SAP Knowledge Base Article - Public

1691356 - Error Message: "Bobj is undefined" during deployment of ASP.NET application.

Symptom

Error Message: ""Bobj' is undefined" during deployment of ASP.NET application.

Environment

  • Visual Studio 2010
  • Crystal Reports for Visual Studio 2010

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>

Keywords

CR4VS2010, Bobj is undefined ,VS.NET 2010.
, KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio