Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
295
deploy a report (with html5 reportviewer)
posted

Hi,

I've followed the following tutorial in order to use html5 reportViewer within my asp.net application and it goes very well.

http://help.infragistics.com/Help/NetAdvantage/Reporting/2012.1/CLR4.0/html/How%20to%20Display%20a%20Report%20Using%20the%20HTML5%20Report%20Viewer.html

http://es.infragistics.com/community/blogs/damyan_petev/archive/2012/07/24/html5-report-viewer-taking-your-reports-further.aspx

But when I deploy the source to an basic iis 6, the reportviewer give me a error (empty error)(see printscreen).

The source include

  • the reference (PERSEE.Report.dll) to the class library project that contain the StaffWorkingCalc.igr file
  • the reportService.svc file itself

for the loader fonction I have the following code :

        $.ig.loader(function () {
            // Create Report Viewer
            $("#report").igReportViewer({
                //width: 943,
                height: 685,
                pageFit: 'fitToWidth',
                parameters: [{ Key: 'userid', Value: ($("#<%=hidUserid.ClientID%>").html()) },
                             { Key: 'schoolyear', Value: ($("#<%=hidSchoolyear.ClientID%>").html())}],
                renderSettings: {
                    definitionUri: 'PERSEE.Report;component/StaffWorkingCalc.igr',
                    serviceEndpointUri: "/ReportService.svc/ajaxAddress/"
                }
            });
        });

Kind Regards.