Microsoft JScript runtime error: 'bobj' is undefined

13,111

Solution 1

This will work 100%

I solved it and anyone find another solution rather than below one, Please post it. I am using Visual Studio 2013.

1) Go to this Path : C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319 .

2) Copy folder name crystalreportviewers13 , and iclude it in your web project.

3) At the Head form where you load and have the crystal report viewer call this java script file.

  <head runat="server">
      <title>View Report</title>
      <script lang="javaScript" type="text/javascript" src="crystalreportviewers13/js/crviewer/crv.js">
      </script> 
  </head>

Thanks.

Solution 2

I am using SAP crystal report Version=13.0.2000.0 ,visual studio 2010 and SAP crystal report runtime engine for .net framework 4(64-bit) I am getting following error in crystal report loading while deploying the project in Cloud while report is shown in design mode.

Microsoft JScript runtime error: 'bobj' is undefined

After that i have reinstall crystal reports for visual studio 2010.

Now its Working Good..

Please try it..

Solution 3

Just try effecting full postback on submit for viewing the report. It worked fine for me with each report refreshing with new data on change of parameters and pressing submit button.

If you are using Ajax, then contain reportviewer part in update panel and attach a trigger to 'Submit' button. It should work fine.

Share:
13,111
sachin nikam
Author by

sachin nikam

Updated on June 08, 2022

Comments

  • sachin nikam
    sachin nikam almost 2 years

    I am using SAP crystal report Version=13.0.2000.0 ,visual studio 2010 and SAP crystal report runtime engine for .net framework 4(64-bit) I am getting following error in crystal report loading while deploying the project in Cloud while report is shown in design mode.

    Microsoft JScript runtime error: 'bobj' is undefined