cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error Message 0x800a1391 - JavaScript runtime error: 'bobj' is undefined

Former Member
0 Likes
1,128

I have a project which I upgraded from Visual Studio 2012 and the version of Crystal Reports for Visual Studio that worked with VS 2012.  I upgraded the project to Visual Studio 2013 and waited for Crystal Reports to be released for VS2013.  Once it was released, I installed Support Package 9 (V13.0.9.1312) on my Windows 8.1 64 bit machine that is running Visual Studio 2013.  I copied the crystalreportviewers13 folder to the root level of my project. 

Everything compiles fine.  However when I run the project and attempt to view my report, I receive the following error message:

After I click continue, I get the following error message:

Any assistance would be greatly appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes


See this post:

Also, see this:

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center
Canada

Follow us on Twitter

Former Member
0 Likes

Mr. Uher In reference to JavaScript runtime error: 'bobj' is undefined, I follow your input in almost every post. I did copy crystalreportviewers13 into my project and rebuild the project with adding To WEB.config add assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" Respectfully,

but I am still unable to run it Please may you advise step by step how to solve this problem Respectfully,

Former Member
0 Likes

Please may someone clarify this problem and put a clear solution

Thanks,

Former Member
0 Likes

Thank you for your reply.

Now I am getting the following error

Former Member
0 Likes

Ho John

Somewhere in your project there is a directive for it to go and load version 12 assemblies. You will have to find out where that is. 1st place to check would be the web.config. Also, make sure you do not have more than one web.config in the directory structure.

- Ludek

Former Member
0 Likes

Thanks,

This is located in a file called preview.aspx

This file is part or located inside the "crystalreportviewers13"

I copied this folder from the local IIS asp_client to my project.

Shall I change it ? I do not know 

I appreciate your help

Former Member
0 Likes

Hi John

For VS 2010 and later you want to be using the Assemblies from SAP Crystal Reports, Developer Version for Visual Studio .NET. These should have a version of 13.0.2000, so yes we don't want version 12 referenced at all. Best thing to do may be to just delete the viewer from the page it is on and read one of version 13.

- Ludek

Former Member
0 Likes

Thank You So much,

I think it is solved.

I copied C:\inetpub\wwwroot\aspnet_client\system_web\2_0_50727

instead of

C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319

I was unable to install CR viewer version 13, wher I did install


Both do not solve it, still have point to crystal viewer version 12 and my assembly is 13

So, Mr.Ludek

   Do you think this is the solution (Copy 2_0_50727) ?

If not, Please may you give  steps by steps how to solve it

Microsoft Visual Studio has Crystal Viewer which I believe version 12 and the project assembly is version 13.

Former Member
0 Likes

MS visual studio 2010 and later does not ship any CR files at all. Last "out of the box:" CR integration was with VS 2008 and that used CR files of version 10.5.x. Version 12.x files are from CR 2008 which is a stand-alone version of CR that also installed the SDK - version 12.x. CR 2008 was not to be used with VS 2010 or later (e,g,l only good for VS 2008 and 2005). So, the short of it is; when using VS 2010 or later, all files should be version 13.

- Ludek

Answers (0)