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
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.
Hello fdevalck,
This issue can be caused by configuration of the project “web.config” file (handlers, services) or by application permissions on the Server where project is deployed.
You can check the following articles regarding first possibility:
http://help.infragistics.com/NetAdvantage/reporting/2012.1/CLR4.0?page=Reporting_Environment_Report_Service.html
http://help.infragistics.com/Help/NetAdvantage/Reporting/2012.1/CLR4.0/html/Custom%20Reporting%20Configurations.html
Regarding second one - you can check if proper permissions are available for the application in the Server and if you use some kind of authorization if this somehow restricts the access to the http handler used by the viewer.
You may also use some of the debugging tools (“Fiddler” for example) to see what requests are made and what are the responses to them. This can help you isolate which part of the export process actually fails.
I've found the problem.
Wnnhen you want to deploy the report part from infragistics (in my case) in a environment where infragistics is not installed, ALL the right dll HAVE to be copied manually to that server, I mean:
InfragisticsWPF4.Reports.v12.1.dll
InfragisticsWPF4.Reports.Pdf.v12.1.dll
InfragisticsWPF4.Reports.Excel.v12.1.dll
InfragisticsWPF4.Reports.Client.v12.1.dll
InfragisticsWPF4.Controls.Reports.v12.1.dll
InfragisticsWPF4.Models.Data.v12.1.dll
InfragisticsWPF4.Models.Presentation.v12.1.dll
InfragisticsWPF4.Reports.Controls.Common.v12.1.dll
InfragisticsWPF4.Reports.Controls.Charts.XamDataChart.v12.1.dll
InfragisticsWPF4.Reports.Controls.DataVisualization.v12.1.dll
Thanks to that post which made me think to go check that dll : http://es.infragistics.com/community/forums/p/69863/353716.aspx#353716
But, now I am facing to a another problem : When we want to export the report (pdf or xls) => a IIS server problem occurs like 'file not found'...
Kind Regards,
You can check the following post - http://es.infragistics.com/community/forums/p/70941/365705.aspx#365705 – and make sure that you deployed all needed by the report files on the Server:
http://help.infragistics.com/NetAdvantage/reporting/2012.1/CLR4.0?page=Adding the Required Resources for the HTML5 Report Viewer.html
http://help.infragistics.com/NetAdvantage/reporting/2012.1/CLR4.0?page=How to Display a Report Using the HTML5 Report Viewer.html
Let me know if the issue persists after adding all needed files and assure that they are accessible by the application.
P.S. Please choose the correct section of our forum before posting your questions. Your current question is about our Reporting controls and should be asked in this section of our forum - http://es.infragistics.com/community/forums/default.aspx?GroupID=78