CrystalReports Error Message: bobj is undefined

Last Reply on Jun 27, 2016 02:29 AM By Shashikant

Posted on Jun 27, 2016 02:28 AM

Greetings, I am working with Crystal reports with visual studio 2010 and IIS.

I have referred to http://aspsnippets.com/Articles/Crystal-Reports-13-Visual-Studio-2010-Issue-with-IIS---bobj-is-undefined-JavaScript-Error-and-Crystal-Report-Viewer-not-displaying.aspx

I have installed crystal reports in many servers with many succesful results where the solution has been only copying the aspnet_client folder to the root of the website.

I want to add that I found an alternative way to display the crystal report.

Note: I put the reports on an aspx page with crystalreport viewer control.

I put in each aspx page this line of code.

<head runat="server">
<title></title>
<script src='<%=ResolveUrl("~/crystalreportviewers13/js/crviewer/crv.js")%>' type="text/javascript"></script>
</head>

The problem is I have to do it for every aspx with crystal report and the images of the controls don't display like they should. For example, the buttons are shown as a link between 2 icons as if the images didn't load. 

Button Display

Button Display 2