最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Crystal Reports 13 bobj is undefined JavaScript Error after installed visual Studio 2015 community edition - Stack Overflow

programmeradmin9浏览0评论

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

After I installed Visual studio 2015 munity edition for my personal use. When i opened my project and run in Visual studio 2010 it throws "JavaScript runtime error: ‘bobj’ is undefined".

I surfed some website

/ .aspx

and I reinstalled and copied aspnet_client folder and paste into project. Eventhough problem not yet solved. I guess the error because i installed VS2015 munity edition.

Please help me and im clueless.

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

After I installed Visual studio 2015 munity edition for my personal use. When i opened my project and run in Visual studio 2010 it throws "JavaScript runtime error: ‘bobj’ is undefined".

I surfed some website

http://www.mahadera./error-0x800a1391-javascript-runtime-error-bobj-is-undefined/ http://www.aspsnippets./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 aspnet_client folder and paste into project. Eventhough problem not yet solved. I guess the error because i installed VS2015 munity edition.

Please help me and im clueless.

Share Improve this question edited Oct 14, 2015 at 6:54 Ayyappan Sekaran asked Jul 29, 2015 at 12:50 Ayyappan SekaranAyyappan Sekaran 1,0364 gold badges13 silver badges28 bronze badges 1
  • In VS 2010 it worked for me, too. In VS 2013 no way to make it work, VS 2015 is the same.. To test reports I have to use it in the IDE or just publish. – Emanuele Greco Commented Jul 29, 2015 at 14:11
Add a ment  | 

5 Answers 5

Reset to default 4

We figured out the root cause of the problem. When you installed VS2015, it installed .NET framework 4.6, which is causing the dreaded "bobj not defined" error. Unfortunately, .NET 4.6 wiped out (or overwrote) earlier version of .NET - whatever es with VS2010 in your case or VS2013 in my case. You can uninstall .NET 4.6 and then "repair" VS2013, which reinstalled .NET 4.5.1 and the problem went away. Unfortunately, repairing VS2015 puts .NET 4.6 right back and the problem reappears.

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

Don't thank me - thank Steve :)

1) First of all go to your root directory path in my case it is: C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319

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

2)In the head section of the page paste the following javascript refrence:

make sure the src is pointing to your local folder.

after that run your page.

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

Copy:

Solution_Directory\aspnet_client\system_web\4_5_27\crystalreportviewers13

To:

Solution_Directory\aspnet_client\system_web\4_6_81\crystalreportviewers13

I had same issue but now everything work right.

  1. Uninstall framework 4.6. After uninstalling 4.6, I found VS didn't work. Removing .NET 4.6 uninstalled all of .NET 4.x.
  2. So I had to reinstall 4.0-4.5.x. This was acplished through Windows Update. I then did a reboot and tried to run a website through VS and found that CR worked correctly.

I hope this will helps.

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

https://wiki.scn.sap./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

More info in the following SAP thread:

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

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论