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
I did send you an e-mail with the zipped solution in attachment.
Thank you very much for your assistance.
I don’t see any problem in your configuration. How are you referencing the service from the HTML side?
It would be great if you can send me the solution. How big it is? Can you send me it by email (l r o d r i g u e z at Infragistics.com) or is it too big for that? Please reduce it as much as possible or create a new one where you isolate the problem please.
First I have a service ICPReportService.svc in the root of the ReportViewer project with the following code:
%@ServiceHost Language="C#" Debug="true" Service="Infragistics.Reports.Server.ReportProcessorService, InfragisticsWPF4.Reports.Server.v12.2, Version=12.2.20122.1014, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %
Second I do have the Web.config file with the following XML code:
<?xml version="1.0"?>
<!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 -->
<configuration>
<configSections>
<section name="infragistics.reports" type="Infragistics.Reports.ReportsConfigurationSection, InfragisticsWPF4.Reports.Client.v12.2"/>
</configSections>
<!-- Report Service configurations are ALL optional -->
<!-- The includeExceptionDetail must be true to get server exceptions in the client -->
<!-- sessionStorageService specifies the temp data folder for the Storage Service -->
<infragistics.reports>
<reportServer includeExceptionDetail="true" cleanupIntervalInMinutes="10" timeoutInMinutes="10" />
<sessionStorageService temporaryFolder="c:\temp"/>
</infragistics.reports>
<connectionStrings>
<add name="ICP.Reporting.ReportingClassLibrary.Properties.Settings.sqlDS_Gebruikers_ICP"
connectionString="Data Source=DBDEV-ACC01;Initial Catalog=ICP;Integrated Security=True"
providerName="System.Data.SqlClient" />
<add name="ICP.Reporting.ReportingClassLibrary.Properties.Settings.sqlDS_Gebruikers_Status"
</connectionStrings>
<system.web>
<globalization culture="nl-NL" uiCulture="nl-NL" fileEncoding="utf-8"/>
<httpHandlers>
<add path="*.igrResource" verb="*" type="Infragistics.Reports.Server.ResourcesHandler, InfragisticsWPF4.Reports.Server.v12.2, Version=12.2.20122.1014, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
validate="false" />
</httpHandlers>
<httpModules>
<add name="ReportProcessorServiceModule" type="Infragistics.Reports.Server.ReportProcessorServiceModule, InfragisticsWPF4.Reports.Server.v12.2, Version=12.2.20122.1014, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
</httpModules>
<compilation debug="true" targetFramework="4.0" />
<membership>
<providers>
<clear/>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices"
enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
applicationName="/" />
</providers>
</membership>
<profile>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
</profile>
<roleManager enabled="false">
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
</roleManager>
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior name="SilverlightFaultBehavior">
<silverlightFaults />
</behavior>
<behavior name="JsonFaultBehavior">
<enableWebScript />
<jsonFaults />
</endpointBehaviors>
<serviceBehaviors>
<behavior name="ReportProcessorServiceBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</serviceBehaviors>
</behaviors>
<bindings>
<customBinding>
<binding name="binaryHttpBinding">
<binaryMessageEncoding />
<httpTransport />
</binding>
</customBinding>
</bindings>
<extensions>
<behaviorExtensions>
<add name="silverlightFaults" type="Infragistics.Reports.Server.SilverlightFaultBehavior, InfragisticsWPF4.Reports.Server.v12.2, Version=12.2.20122.1014, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
<add name="jsonFaults" type="Infragistics.Reports.Server.JsonErrorWebHttpBehaviorElement, InfragisticsWPF4.Reports.Server.v12.2, Version=12.2.20122.1014, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
</behaviorExtensions>
</extensions>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
<services>
<service behaviorConfiguration="ReportProcessorServiceBehavior"
name="Infragistics.Reports.Server.ReportProcessorService">
<endpoint address="soapAddress" behaviorConfiguration="SilverlightFaultBehavior"
binding="customBinding" bindingConfiguration="binaryHttpBinding"
contract="Infragistics.Reports.Server.IReportProcessorService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="ajaxAddress" behaviorConfiguration="JsonFaultBehavior"
binding="webHttpBinding" contract="Infragistics.Reports.Server.IReportProcessorService" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
</system.serviceModel>
</configuration>
I’m working and running the solution on a Windows 8 Pro machine with Visual Studio 2010 Pro.
Today I ran the solution on a Windows 7 Pro machine with Visual Studio 2010 Pro and got the following error message in the web browser:
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'InfragisticsWPF4.Reports.Server.v12.2, Version=12.2.20122.1014, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified. (G:\ICP.Reporting\ICP.Reporting.ReportViewer\web.config line 36)
Source Error:
Line 34: </httpHandlers>
Line 35: <httpModules>
Line 36: <add name="ReportProcessorServiceModule" type="Infragistics.Reports.Server.ReportProcessorServiceModule, InfragisticsWPF4.Reports.Server.v12.2, Version=12.2.20122.1014, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
Line 37: </httpModules>
Line 38: <compilation debug="true" targetFramework="4.0" />
Source File: G:\ICP.Reporting\ICP.Reporting.ReportViewer\web.config Line: 36
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
I hope all of this helps to find out what is going wrong.
Is there a way to upload the complete solution so you can have a look at the complete solution?
Thank you very much for your help and assistance.
How are you configuring the ReportViewer at the client?