Skip to Content
avatar image
Former Member

generated javascript error bobj.crv.stateManager.setComponentState

I'm unable to open reports in my Visual Studio 2010 project.  When loading the report, the code breaks on the following line of generated javascript:


I'm using runtime engine Version 13.0.2000.0.  I have set web.config according to the directions in the developer guide and on this blog:


    <sectionGroup name="businessObjects">

      <sectionGroup name="crystalReports">

        <section name="printControl" type="System.Configuration.NameValueSectionHandler"/>

        <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler"/>

        <section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null" />

        <!--<section name="rptBuildProvider" type="System.Configuration.NameValueSectionHandler"/>-->



    <sectionGroup name="crystalDecisions">

      <section name="serverFileReportManager" type="System.Configuration.NameValueSectionHandler"/>






        <add key="documentView" value="weblayout"/>

        <add key="EnableTextClipping" value="true"/>

        <add key="maxNumberListOfValues" value="50"/>

        <add key="UseBrowserLocale" value="true"/>

        <add key="ResourceUri" value="~/crystalreportviewers13" />




        <add embedRptInResource="true" />






      <add key="rootDirectory" value="c:\inetpub\wwwroot"/>



I added the crystalreportviewers13 folder to the project under aspnet_client / system_web / 4_0_30319 / crystalreportviewers13.  (This was done automatically when I installed the runtime engine.)

I am running in Windows7 . .NET Framework 4. The build is for AnyCPU.

Thanks for any assistance!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 09, 2015 at 04:05 PM

    Try searching first, lots of info on that error. And be sure to be on SP 12.

    Also, must install the exe on DEV PC, do not install just the redist package.

    Must be VS Pro or above.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks!  Not sure what you mean by "the exe".  I installed CRforVS_13_0.exe.  I am using VS Pro and installed SP12.  I did search the error and fiund some useful posts but no resolution yet.  I'll continue to search.    This error doesn't produce a stack.