SAP Knowledge Base Article - Public

1281101 - The yellow (!) exclamation mark icon shows up in the status bar when ASP.NET application runs

Symptom

  • The Blank Page shows up in the browser when .NET Web application runs
  • "Untitled Page" in the title of the browser
  • "Done, but with errors on page" or "Done" with yellow (!) exclamation mark icon shows up in the status bar of the browser
  • Intenet Explorer dialog shows up when clicks yellow (!) exclamation mark icon
  • Error : "Problem with this Web page might prevent it from being dsplayed properly or functioning properly. In the future, you can display this message by double-clicking the waring icon displayed in the status bar."
  • Error : 'bobj' is undefined

Reproducing the Issue

  1. Create a new ASP.NET Web application.
  2. Insert Add Reference from Project menu.
  3. Select "CrtstalDecisions.CrystalReports.Engine" in the .NET tab.
  4. Select "CrystalDecisions.Shared" in the .NET tab.
  5. Select "CrystalDecisions.Web" in the .NET tab. 
  6. Click OK.
  7. Insert Crystal ReportViewer control into web form.
  8. Insert the following codes (from Crystal Reports 2008 .Net SDK Developer Guide) in the Web.config file of ASP.NET Web application.

<configSections>
    <sectionGroup name="businessObjects">
      <sectionGroup name="crystalReports">
        <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
      </sectionGroup>
    </sectionGroup>
  </configSections>

  <businessObjects>
    <crystalReports>
      <crystalReportViewer>
      <add key="resourceURI" value="/crystalreportviewers12" />
      </crystalReportViewer>
    </crystalReports>
  </businessObjects>

  1. Insert <sessionState cookieless="true"></sessionState> in the <system.web> tag.

Environment:

  • Crystal Reports 2008 SP0
  • Microsoft Visual Studio 2008

Resolution

  1. Copy C:\Program File\Business Objects\Common\4.0\CrystalReportViewers12 folder to ASP.NET Web application folder.
  2. Modify the following code in Web.config file of ASP.NET web application.

<add key="resourceURI" value="~/crystalreportviewers12" />

 

Keywords

blank page,C#,VS2008,CR2008,cookie, , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

Crystal Reports 2008 V0