Hi,
I'm new in developing with the Infragistics tools. I have a ASP.Net solution with Report Viewer. When I run the solution I get the error "Cannot establish a connection with the Report Server." without any detail on the error.
I checked the code completely and cannot find the reason why it generates this error.
Is there any way someone can help me?
Best Regards,
Geert De Vylder
Hi Geert,
Can you reach the report server typing its URL directly in the browser?
The following help topic explains how to configure the HTML5 report viewer.
http://help.infragistics.com/NetAdvantage/Reporting/2012.2/CLR4.0?page=How to Display a Report Using the HTML5 Report Viewer.html
Best,
Leo
Hi Leo,
Thank you very much for your reply.
I did configure the HTML5 report viewer by following the help topic step by step. That's the reason I'm amazed it doesn't work.
When I try to reach the report server by typing its URL directly in the browser, I do get to see the XML code as follows.
<wsdl:definitionsxmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://tempuri.org/" name="ReportProcessorService"><wsp:Policywsu:Id="CustomBinding_IReportProcessorService_policy"><wsp:ExactlyOne><wsp:All><msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004/mspolicy/netbinary1"/><wsaw:UsingAddressing/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schematargetNamespace="http://tempuri.org/Imports"><xsd:import namespace="http://tempuri.org/" schemaLocation="http://localhost:55588/ICPReportService.svc?xsd=xsd0"/><xsd:import namespace="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Server" schemaLocation="http://localhost:55588/ICPReportService.svc?xsd=xsd5"/><xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" schemaLocation="http://localhost:55588/ICPReportService.svc?xsd=xsd1"/><xsd:import namespace="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Client" schemaLocation="http://localhost:55588/ICPReportService.svc?xsd=xsd2"/><xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" schemaLocation="http://localhost:55588/ICPReportService.svc?xsd=xsd3"/><xsd:import namespace="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Engine" schemaLocation="http://localhost:55588/ICPReportService.svc?xsd=xsd4"/><xsd:import namespace="http://schemas.datacontract.org/2004/07/Infragistics.Reports" schemaLocation="http://localhost:55588/ICPReportService.svc?xsd=xsd6"/></xsd:schema></wsdl:types><wsdl:messagename="IReportProcessorService_GetParametersValues_InputMessage"><wsdl:part name="parameters" element="tns:GetParametersValues"/></wsdl:message><wsdl:messagename="IReportProcessorService_GetParametersValues_OutputMessage"><wsdl:part name="parameters" element="tns:GetParametersValuesResponse"/></wsdl:message><wsdl:messagename="IReportProcessorService_GetParametersValues_ReportProcessorServiceErrorDataFault_FaultMessage"><wsdl:part name="detail" element="q1:ReportProcessorServiceErrorData" xmlns:q1="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Server"/></wsdl:message><wsdl:messagename="IReportProcessorService_CreateSessionForReport_InputMessage"><wsdl:part name="parameters" element="tns:CreateSessionForReport"/></wsdl:message><wsdl:messagename="IReportProcessorService_CreateSessionForReport_OutputMessage"><wsdl:part name="parameters" element="tns:CreateSessionForReportResponse"/></wsdl:message><wsdl:messagename="IReportProcessorService_CreateSessionForReport_ReportProcessorServiceErrorDataFault_FaultMessage"><wsdl:part name="detail" element="q2:ReportProcessorServiceErrorData" xmlns:q2="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Server"/></wsdl:message><wsdl:messagename="IReportProcessorService_ProcessReport_InputMessage"><wsdl:part name="parameters" element="tns:ProcessReport"/></wsdl:message><wsdl:messagename="IReportProcessorService_ProcessReport_OutputMessage"><wsdl:part name="parameters" element="tns:ProcessReportResponse"/></wsdl:message><wsdl:messagename="IReportProcessorService_ProcessReport_ReportProcessorServiceErrorDataFault_FaultMessage"><wsdl:part name="detail" element="q3:ReportProcessorServiceErrorData" xmlns:q3="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Server"/></wsdl:message><wsdl:messagename="IReportProcessorService_PageCount_InputMessage"><wsdl:part name="parameters" element="tns:PageCount"/></wsdl:message><wsdl:messagename="IReportProcessorService_PageCount_OutputMessage"><wsdl:part name="parameters" element="tns:PageCountResponse"/></wsdl:message><wsdl:messagename="IReportProcessorService_PageCount_ReportProcessorServiceErrorDataFault_FaultMessage"><wsdl:part name="detail" element="q4:ReportProcessorServiceErrorData" xmlns:q4="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Server"/></wsdl:message><wsdl:messagename="IReportProcessorService_GetPageRange_InputMessage"><wsdl:part name="parameters" element="tns:GetPageRange"/></wsdl:message><wsdl:messagename="IReportProcessorService_GetPageRange_OutputMessage"><wsdl:part name="parameters" element="tns:GetPageRangeResponse"/></wsdl:message><wsdl:messagename="IReportProcessorService_GetPageRange_ReportProcessorServiceErrorDataFault_FaultMessage"><wsdl:part name="detail" element="q5:ReportProcessorServiceErrorData" xmlns:q5="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Server"/></wsdl:message><wsdl:messagename="IReportProcessorService_HasEndedProcessing_InputMessage"><wsdl:part name="parameters" element="tns:HasEndedProcessing"/></wsdl:message><wsdl:messagename="IReportProcessorService_HasEndedProcessing_OutputMessage"><wsdl:part name="parameters" element="tns:HasEndedProcessingResponse"/></wsdl:message><wsdl:messagename="IReportProcessorService_HasEndedProcessing_ReportProcessorServiceErrorDataFault_FaultMessage"><wsdl:part name="detail" element="q6:ReportProcessorServiceErrorData" xmlns:q6="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Server"/></wsdl:message><wsdl:messagename="IReportProcessorService_Cancel_InputMessage"><wsdl:part name="parameters" element="tns:Cancel"/></wsdl:message><wsdl:messagename="IReportProcessorService_Cancel_OutputMessage"><wsdl:part name="parameters" element="tns:CancelResponse"/></wsdl:message><wsdl:messagename="IReportProcessorService_Cancel_ReportProcessorServiceErrorDataFault_FaultMessage"><wsdl:part name="detail" element="q7:ReportProcessorServiceErrorData" xmlns:q7="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Server"/></wsdl:message><wsdl:messagename="IReportProcessorService_Repaginate_InputMessage"><wsdl:part name="parameters" element="tns:Repaginate"/></wsdl:message><wsdl:messagename="IReportProcessorService_Repaginate_OutputMessage"><wsdl:part name="parameters" element="tns:RepaginateResponse"/></wsdl:message><wsdl:messagename="IReportProcessorService_Repaginate_ReportProcessorServiceErrorDataFault_FaultMessage"><wsdl:part name="detail" element="q8:ReportProcessorServiceErrorData" xmlns:q8="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Server"/></wsdl:message><wsdl:messagename="IReportProcessorService_GetFragments_InputMessage"><wsdl:part name="parameters" element="tns:GetFragments"/></wsdl:message><wsdl:messagename="IReportProcessorService_GetFragments_OutputMessage"><wsdl:part name="parameters" element="tns:GetFragmentsResponse"/></wsdl:message><wsdl:messagename="IReportProcessorService_GetFragments_ReportProcessorServiceErrorDataFault_FaultMessage"><wsdl:part name="detail" element="q9:ReportProcessorServiceErrorData" xmlns:q9="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Server"/></wsdl:message><wsdl:messagename="IReportProcessorService_Export_InputMessage"><wsdl:part name="parameters" element="tns:Export"/></wsdl:message><wsdl:messagename="IReportProcessorService_Export_OutputMessage"><wsdl:part name="parameters" element="tns:ExportResponse"/></wsdl:message><wsdl:messagename="IReportProcessorService_Export_ReportProcessorServiceErrorDataFault_FaultMessage"><wsdl:part name="detail" element="q10:ReportProcessorServiceErrorData" xmlns:q10="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Server"/></wsdl:message><wsdl:messagename="IReportProcessorService_CancelExport_InputMessage"><wsdl:part name="parameters" element="tns:CancelExport"/></wsdl:message><wsdl:messagename="IReportProcessorService_CancelExport_OutputMessage"><wsdl:part name="parameters" element="tns:CancelExportResponse"/></wsdl:message><wsdl:messagename="IReportProcessorService_CancelExport_ReportProcessorServiceErrorDataFault_FaultMessage"><wsdl:part name="detail" element="q11:ReportProcessorServiceErrorData" xmlns:q11="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Server"/></wsdl:message><wsdl:portTypename="IReportProcessorService"><wsdl:operationname="GetParametersValues"><wsdl:input message="tns:IReportProcessorService_GetParametersValues_InputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/GetParametersValues"/><wsdl:output message="tns:IReportProcessorService_GetParametersValues_OutputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/GetParametersValuesResponse"/><wsdl:fault name="ReportProcessorServiceErrorDataFault" message="tns:IReportProcessorService_GetParametersValues_ReportProcessorServiceErrorDataFault_FaultMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/GetParametersValuesReportProcessorServiceErrorDataFault"/></wsdl:operation><wsdl:operationname="CreateSessionForReport"><wsdl:input message="tns:IReportProcessorService_CreateSessionForReport_InputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/CreateSessionForReport"/><wsdl:output message="tns:IReportProcessorService_CreateSessionForReport_OutputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/CreateSessionForReportResponse"/><wsdl:fault name="ReportProcessorServiceErrorDataFault" message="tns:IReportProcessorService_CreateSessionForReport_ReportProcessorServiceErrorDataFault_FaultMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/CreateSessionForReportReportProcessorServiceErrorDataFault"/></wsdl:operation><wsdl:operationname="ProcessReport"><wsdl:input message="tns:IReportProcessorService_ProcessReport_InputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/ProcessReport"/><wsdl:output message="tns:IReportProcessorService_ProcessReport_OutputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/ProcessReportResponse"/><wsdl:fault name="ReportProcessorServiceErrorDataFault" message="tns:IReportProcessorService_ProcessReport_ReportProcessorServiceErrorDataFault_FaultMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/ProcessReportReportProcessorServiceErrorDataFault"/></wsdl:operation><wsdl:operationname="PageCount"><wsdl:input message="tns:IReportProcessorService_PageCount_InputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/PageCount"/><wsdl:output message="tns:IReportProcessorService_PageCount_OutputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/PageCountResponse"/><wsdl:fault name="ReportProcessorServiceErrorDataFault" message="tns:IReportProcessorService_PageCount_ReportProcessorServiceErrorDataFault_FaultMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/PageCountReportProcessorServiceErrorDataFault"/></wsdl:operation><wsdl:operationname="GetPageRange"><wsdl:input message="tns:IReportProcessorService_GetPageRange_InputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/GetPageRange"/><wsdl:output message="tns:IReportProcessorService_GetPageRange_OutputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/GetPageRangeResponse"/><wsdl:fault name="ReportProcessorServiceErrorDataFault" message="tns:IReportProcessorService_GetPageRange_ReportProcessorServiceErrorDataFault_FaultMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/GetPageRangeReportProcessorServiceErrorDataFault"/></wsdl:operation><wsdl:operationname="HasEndedProcessing"><wsdl:input message="tns:IReportProcessorService_HasEndedProcessing_InputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/HasEndedProcessing"/><wsdl:output message="tns:IReportProcessorService_HasEndedProcessing_OutputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/HasEndedProcessingResponse"/><wsdl:fault name="ReportProcessorServiceErrorDataFault" message="tns:IReportProcessorService_HasEndedProcessing_ReportProcessorServiceErrorDataFault_FaultMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/HasEndedProcessingReportProcessorServiceErrorDataFault"/></wsdl:operation><wsdl:operationname="Cancel"><wsdl:input message="tns:IReportProcessorService_Cancel_InputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/Cancel"/><wsdl:output message="tns:IReportProcessorService_Cancel_OutputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/CancelResponse"/><wsdl:fault name="ReportProcessorServiceErrorDataFault" message="tns:IReportProcessorService_Cancel_ReportProcessorServiceErrorDataFault_FaultMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/CancelReportProcessorServiceErrorDataFault"/></wsdl:operation><wsdl:operationname="Repaginate"><wsdl:input message="tns:IReportProcessorService_Repaginate_InputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/Repaginate"/><wsdl:output message="tns:IReportProcessorService_Repaginate_OutputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/RepaginateResponse"/><wsdl:fault name="ReportProcessorServiceErrorDataFault" message="tns:IReportProcessorService_Repaginate_ReportProcessorServiceErrorDataFault_FaultMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/RepaginateReportProcessorServiceErrorDataFault"/></wsdl:operation><wsdl:operationname="GetFragments"><wsdl:input message="tns:IReportProcessorService_GetFragments_InputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/GetFragments"/><wsdl:output message="tns:IReportProcessorService_GetFragments_OutputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/GetFragmentsResponse"/><wsdl:fault name="ReportProcessorServiceErrorDataFault" message="tns:IReportProcessorService_GetFragments_ReportProcessorServiceErrorDataFault_FaultMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/GetFragmentsReportProcessorServiceErrorDataFault"/></wsdl:operation><wsdl:operationname="Export"><wsdl:input message="tns:IReportProcessorService_Export_InputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/Export"/><wsdl:output message="tns:IReportProcessorService_Export_OutputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/ExportResponse"/><wsdl:fault name="ReportProcessorServiceErrorDataFault" message="tns:IReportProcessorService_Export_ReportProcessorServiceErrorDataFault_FaultMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/ExportReportProcessorServiceErrorDataFault"/></wsdl:operation><wsdl:operationname="CancelExport"><wsdl:input message="tns:IReportProcessorService_CancelExport_InputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/CancelExport"/><wsdl:output message="tns:IReportProcessorService_CancelExport_OutputMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/CancelExportResponse"/><wsdl:fault name="ReportProcessorServiceErrorDataFault" message="tns:IReportProcessorService_CancelExport_ReportProcessorServiceErrorDataFault_FaultMessage" wsaw:Action="http://tempuri.org/IReportProcessorService/CancelExportReportProcessorServiceErrorDataFault"/></wsdl:operation></wsdl:portType><wsdl:bindingname="CustomBinding_IReportProcessorService" type="tns:IReportProcessorService"><wsp:PolicyReference URI="#CustomBinding_IReportProcessorService_policy"/><soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operationname="GetParametersValues"><soap12:operation style="document" soapAction="http://tempuri.org/IReportProcessorService/GetParametersValues"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:faultname="ReportProcessorServiceErrorDataFault"><soap12:fault name="ReportProcessorServiceErrorDataFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operationname="CreateSessionForReport"><soap12:operation style="document" soapAction="http://tempuri.org/IReportProcessorService/CreateSessionForReport"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:faultname="ReportProcessorServiceErrorDataFault"><soap12:fault name="ReportProcessorServiceErrorDataFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operationname="ProcessReport"><soap12:operation style="document" soapAction="http://tempuri.org/IReportProcessorService/ProcessReport"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:faultname="ReportProcessorServiceErrorDataFault"><soap12:fault name="ReportProcessorServiceErrorDataFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operationname="PageCount"><soap12:operation style="document" soapAction="http://tempuri.org/IReportProcessorService/PageCount"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:faultname="ReportProcessorServiceErrorDataFault"><soap12:fault name="ReportProcessorServiceErrorDataFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operationname="GetPageRange"><soap12:operation style="document" soapAction="http://tempuri.org/IReportProcessorService/GetPageRange"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:faultname="ReportProcessorServiceErrorDataFault"><soap12:fault name="ReportProcessorServiceErrorDataFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operationname="HasEndedProcessing"><soap12:operation style="document" soapAction="http://tempuri.org/IReportProcessorService/HasEndedProcessing"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:faultname="ReportProcessorServiceErrorDataFault"><soap12:fault name="ReportProcessorServiceErrorDataFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operationname="Cancel"><soap12:operation style="document" soapAction="http://tempuri.org/IReportProcessorService/Cancel"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:faultname="ReportProcessorServiceErrorDataFault"><soap12:fault name="ReportProcessorServiceErrorDataFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operationname="Repaginate"><soap12:operation style="document" soapAction="http://tempuri.org/IReportProcessorService/Repaginate"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:faultname="ReportProcessorServiceErrorDataFault"><soap12:fault name="ReportProcessorServiceErrorDataFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operationname="GetFragments"><soap12:operation style="document" soapAction="http://tempuri.org/IReportProcessorService/GetFragments"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:faultname="ReportProcessorServiceErrorDataFault"><soap12:fault name="ReportProcessorServiceErrorDataFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operationname="Export"><soap12:operation style="document" soapAction="http://tempuri.org/IReportProcessorService/Export"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:faultname="ReportProcessorServiceErrorDataFault"><soap12:fault name="ReportProcessorServiceErrorDataFault" use="literal"/></wsdl:fault></wsdl:operation><wsdl:operationname="CancelExport"><soap12:operation style="document" soapAction="http://tempuri.org/IReportProcessorService/CancelExport"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output><wsdl:faultname="ReportProcessorServiceErrorDataFault"><soap12:fault name="ReportProcessorServiceErrorDataFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:servicename="ReportProcessorService"><wsdl:portname="CustomBinding_IReportProcessorService" binding="tns:CustomBinding_IReportProcessorService"><soap12:address location="http://localhost:55588/ICPReportService.svc/soapAddress"/><wsa10:EndpointReference><wsa10:Address>http://localhost:55588/ICPReportService.svc/soapAddress</wsa10:Address><Identityxmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity"><Dns>localhost</Dns></Identity></wsa10:EndpointReference></wsdl:port></wsdl:service></wsdl:definitions>
I hope this helps.
I cannot upload the complete solution because the file is to large.
Geert