I'm receiving this error when attempting to view a report that requires parameters which comes from the page viewrpt.aspx. The particular line of code that it refers to in the page is as follows
var
__CRYSTALREPORTVIEWERONSUBMIT12=__doPostBack;__doPostBack=function(t,a){bobj.event.publish('saveViewState');__CRYSTALREPORTVIEWERONSUBMIT12(t,a);}function WebForm_OnSubmit() {
bobj.event.publish(
'saveViewState');
return
true;
}
There error in particular is pointing to directly after the '}' before function WebForm_OnSubmit.
If you attempt to submit the form I then receive the error, "SCRIPT5007: The value of the property 'WebForm_OnSubmit' is null or undefined, not a Function object". This seems to make perfect sense since the absence of the ';' preceding the function declaration basically runs the function declaration into the statement before it thereby disabling its usage as a function. As a result a user cannot submit parameters to view the report using the Web View.
Does anyone have a clue as to what is going on here and how to fix it? We are using CRS 2008 R2 SP2 at the time. It was working properly until the other day when we installed .Net Framework 3.5 SP1. After that install the problem started to occur. Since then I've attempted to uninstall all frameworks and reinstall them to no avail. I have also attempted to run a repair installation on CRS which also did not fix the problem. I have been able to reproduce the error in IE10, IE7, FF, and Chrome so it doesn't seem to be a browser issue either.