cancel
Showing results for 
Search instead for 
Did you mean: 

Visual Studio 2010 and SAP Crystal Reports 2013 - Javascript Error

Former Member
0 Kudos

I am upgrading Crystal reports 10 to Crystal Reports 2013, I downloaded the Crystal Reports for Visual Studio. Changed my visual studio project to reference the new Crystal Assemblies, copied over the "crystalreportviewers13" folder in my project path, and included the .js reference. (this solved a previous problem I was having), however when I try to run the report code, I get this wierd error:

MicrosoftJScript runtime error: Unable to get value of property 'value': object is null or undefined

And the report won't render in the browser, the SAP Crystal Toolbar will show up, but the report will not show up

please help

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Try a simple report with no DB connection and just a text box with "Hello World" in it.

Does the report have Parameters?

Is the JDK installed?

Don

Former Member
0 Kudos

This issue was solved by following the link below:

http://www.mahadera.com/error-0x800a1391-javascript-runtime-error-bobj-is-undefined/

A correction to the markup (based on further research)

And the markup should be this in the web.config file

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


Just follow the instructions in the post and that should resolve the:


Error 0x800a1391 – JavaScript runtime error: ‘bobj’ is undefined

issue

Answers (0)