Hello Experts,
I have problems exporting Crystal Report in my .NET Application, whenever I try to export it throws an javascript error on my report viewer. I have CR2008 Runtime installed on the machine and also I checked forums before posting here. All the files are located in this path:C:\inetpub\wwwroot\aspnet_client\system_web\2_0_50727\crystalreportviewers12.
The 'Object Expected' error occurred, I tried using Process Monitor tool to find what Javascript its running.It complains this:
PATH: C:\inetpub\wwwroot\aspnet_client\system_web\2_0_50727\crystalreportviewers12\js\crviewer\ crv.js\web.config RESULT: PATH NOT FOUND
The JavaScript error fails here:
var __CRYSTALREPORTVIEWERONSUBMIT12=__doPostBack;__doPostBack=function(t,a) {bobj.event.publish('saveViewState');__CRYSTALREPORTVIEWERONSUBMIT12(t,a);}function WebForm_OnSubmit() { bobj.event.publish('saveViewState'); return true;
Actually, it was 2 JS errors, both point to this same location:
1. ';' Expected (After loading Report).
2. Object Expected(When tried clicking on Export).
Any guess, what I'm doing wrong???