cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with windows 10, VS 2015 and SP15

0 Kudos

Hello everyone !!!
I'm with the problem
when I'm working as Visual Studio 2015 and run the application in debug mode, clicking the report visual studio shows this message. I already put the aspnet_client folder in my application anyway the message below.


0x800A1391 - JavaScript runtime error: 'BobJ' is not defined

shows in internet explorer and the edge goes blank

Win10
VS2015
CR - SP15

thank you all

Andre Martins

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Check permissions on that viewer folder. Are you using IISExpress or IIS?

Don

0 Kudos

Ok Don.
I'm using IISEpxress.
I'll give permissions.

0 Kudos

I gave permission both aspnet_client folder within the project
as in the aspnet_client folder in the C: \ inetpub \ wwwroot \
and it did not work
what can I do more?

0 Kudos

Create a new simple app using a report with just a text object with Hello World in it and zip the project up and rename it to *.txt. Then attach it to this post and I'll test and see what is happening.

Likely simply a setting somewhere...

Don

0 Kudos

the site is not leaving placing the renamed file to zip .txt

the file of the address put on in

http://177.0.159.170:8088/icons_simple/testcr.zip

see if it Works.

Thank you

0 Kudos

Hi Andre,

Search for crviewer.aspx, you'll find it here for IISExpress:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETClientFiles\crystalreportviewers13

Delete that file, I don't know why DEV decided to start shipping it again, not use or required.

See if that works

Don

0 Kudos

Hi Don,
in C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETClientFiles\crystalreportviewers13

crviewer.aspx the file does not have this folder

have preview.aspx.

I have no idea what to do

Tks..
André

0 Kudos

Hi Andrea,

Sorry did you mean that folder does not have the file crviewer.aspx?

Do you have that folder?

If not try reinstalling under a local PC admin account.

Bobj not defined is always due to IIS does not have permission to access the viewer folder.

If you right click on the page and show Source you'll see that it's trying to find the viewer ...\4_6_81\... or some number like that.

We found this earlier and DEV said they fixed it. I tested, it does work for Windows 10 but fails on Windows 7.

It's due to the 4.6 Framework... I asked them for an update on this also.

Don

Message was edited by: Don Williams

0 Kudos

Hi Don,

I have a folder C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ ASP.NETClientFiles \ crystalreportviewers13

this folder does not have the crviewer.aspx file

It installed the Windows 10 Pro, Visual Studio 2015 Enterprise and SP15 Crystal Reports with a local PC admin account.

I'll format a new PC and reinstall everything to see if you have any problem.

I do not know what to do

Tks.

André

0 Kudos

Hi Don,

Is working now.

I did the following:

Win10 installed after Visual Studio 2015 and Crystal SP15.

I gave permission to the C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ ASP.NETClientFiles \ crystalreportviewers13 to IISExpress users.

I changed the file previewer.aspx the lines that had Version = 12.0.2000.0 to Version = 13.0.2000.0.

I ran the application and it worked 100%

Thank you Don.

André Martins

0 Kudos

Hi Andre,

Delete the crviewer.aspx, it's going to be removed in future installs, it's not required and should not have been there.

Good to know about giving permission to IISExpress folder...

Don

0 Kudos

Hi Don,

I did the procedure and that procedure and it worked.

My computer did upgrade the win10 and simply stopped working.

returned the error:

0x800A1391 - JavaScript runtime error: 'BobJ' is not defined


I can not find the file you spoke crviewer.aspx on the computer

what procedure to work with vs2015 an win10.

I do not know what to do

thank you.

André

0 Kudos

Sorry, you can delete previewer.aspx.

If you notice also if you show the resource in IE you'll see it's looking for this folder:

C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \4_6_xx\  ASP.NETClientFiles \ crystalreportviewers13

Create that folder structure and it should work also. And when using IIS do the same.

Don

Answers (1)

Answers (1)

0 Kudos

Hi Don,

It worked

Thank you so much.

0 Kudos

SP 16 now looks in a different registry key for the framework version so no longer required to add the framework version to the path or create the path.