Crystal Reports 13 bobj - undefined JavaScript error after installing visual version of Studio 2015 community

In Visual Studio 2010 with Crystal Report 13, my project worked fine.

After I installed the Visual Studio 2015 community version for personal use. When I opened my project and launched Visual Studio 2010 , it throws "JavaScript runtime error:" bobj is undefined ".

enter image description here enter image description here I browsed the website

http://www.mahadera.com/error-0x800a1391-javascript-runtime-error-bobj-is-undefined/ http://www.aspsnippets.com/Articles/Crystal-Reports-13-Visual-Studio-2010- Issue-with-IIS --- bobj-is-undefined-JavaScript-Error-and-Crystal-Report-Viewer-not-displaying.aspx

and I reinstalled and copied the aspnet_client folder and pasted it into the project. Although the problem has not yet been resolved. I suppose an error because I installed the VS2015 community version.

Please help me and I do not know.

+8
javascript visual-studio-2010 visual-studio-2015 crystal-reports
source share
5 answers

We found out the root cause of the problem. When you installed VS2015, he installed the .NET framework 4.6, which causes the terrible "bobj not defined" error. Unfortunately, .NET 4.6 destroyed (or overwritten) an earlier version of .NET β€” everything that comes with VS2010 in your case or VS2013 in my case. You can remove .NET 4.6 and then β€œrepair” VS2013, which reinstalled .NET 4.5.1, and the problem goes away. Unfortunately, VS2015 repair brings .NET 4.6 back, and the problem reappears.

So, on the bottom line, you can either have VS2015 or an earlier version of Visual Studio without a bobj error; but not both

Don't thank me - thanks to Steve :)

+3
source share

I had the same problem, but now everything is working correctly.

  • Exclude framework 4.6. After uninstalling 4.6, I found that VS is not working. Uninstalling .NET 4.6 uninstalled all .NET 4.x.
  • So I had to reinstall 4.0-4.5.x. This was done through Windows Update. Then I rebooted and tried to start the website through VS and found that CR was working correctly.

Hope this helps.

+1
source share

Copy:

Solution_Directory\aspnet_client\system_web\4_5_27\crystalreportviewers13

To:

Solution_Directory\aspnet_client\system_web\4_6_81\crystalreportviewers13

0
source share

I think this is finally fixed in SAP Crystal Reports, the developer version for Microsoft Visual Studio - Service Pack 16

https://wiki.scn.sap.com/wiki/display/BOBJ/SAP+Crystal+Reports%2C+developer+version+for+Microsoft+Visual+Studio+-+Service+Pack+16+-+Fixed+Issues

 Incident 878969 Framework 4.6 causes CR for VS to create a unique folder path to the Crystalreportsviewer13 folder in IIS and IISExpress 

Additional information in the following SAP stream:

https://scn.sap.com/thread/3824701

0
source share

1) First of all, go to the root directory in my case: C: \ inetpub \ wwwroot \ aspnet_client \ system_web \ 4_0_30319

here you will find a folder named "crystalreportviewers13". Copy it to the folder with your solution.

2) In the page header section, insert the following javascript refrence:

make sure src points to your local folder.

then start your page.

I have the same problem and this is good for me in VS2015.

0
source share

All Articles