cancel
Showing results for 
Search instead for 
Did you mean: 

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'isObject'

Former Member
0 Kudos

After a great deal of hardship, I finally got Crystal Reports installed and integrated with VS2012.  Despite multiple attempts to install and re-install this program, it took several tries and the removal of all previous versions to get the Reports to show up in VS2012.  Once I got it all done, I started getting this error regarding bobj - and how it was undefined.  This went on for days.  Finally, quite by accident, I noticed that crystalreportsviewers12 had become crystalreportsviewers13.  I changed all of the references to crystalreportsviewers (notice the absence of the number), and I stopped getting errors that 'bobj' was undefined.

Well, now it is defined....

Unfortunately, it does not work, and I have no idea what I am looking for to make it work.  In VS2010, it took forever to get Crystal Reports working, but we finally did.  Now we're two weeks into the VS2012 Upgrade, and there is NO WAY to make it work, as we have no idea what bobj wants or why it cannot handle the property or method it is producing errors about.

The line of offensive code is:

if (!bobj.isObject(json))

Apparently, it want's something other than null. I have no idea how to give it what it wants...

followed by:

bobj.crv.stateManager.setComponentState('MainContent_CrystalReportViewer1__UI',eval('('+document.getElementById('__CRYSTALSTATEctl00$MainContent$CrystalReportViewer1').value+')'));

Now something tells me that this is an easy fix if I knew what I was looking for, but I do not.  This is not an error I was expecting to encounter.  When we used VS2010, once we had the versions on both server and development matched, it worked like clockwork.  Now we just have a broken intranet. When I place it on the actual development site, I do not see errors, but I do get a blank report that looks like the picture attached.

View Entire Topic
former_member188030
Active Contributor
0 Kudos

Hi Todd,

Try this.

Run process monitor with your application till it throws the error.

Search the ProcMon log for 'crv.js', this will tell you where the app is looking for the CR viewer files.

Now manually copy the crviewers folder from CR installation directory to this location from log.

Rename the folder to crystalreportviewers13.

Thanks,

Bhushan

Former Member
0 Kudos

I can't tell you why, but renaming everything to crystalreportviewers13 and copying over the files DID fix the bobj being undefined issue.  No idea why that did that.  However, once the error went away, my report (in DEVELOPMENT VIEW, I have not pushed it to the PRODUCTION server) shows, instead of a report, a series of grey vertical lines.  Like it is working, but not quite all the way.  But you DID fix the BOBJ error.

Note to self and others:  DO NOT CHANGE the crystalreportviewers13 directory, as that is necessary for it to work properly. You may have to copy things into it, but do not change the directory itself.