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
1060
Cannot establish a connection with the report server
posted

Hello

I'm using Reporting 2011 vol2.  I am using a Silverlight client with server side rendering via a report service.

I have the above working fine in a clean visual studio solution however I cannot get it working in our main solution in which i want to implement reporting.  I follow exactly to the same steps as my working clean solution but i am getting 'Cannot establish a connection with the report server' in the main solution.  

I have compared web.configs and everything seems to be ok.

When i watch whats happening in fiddler I can see that it is actually connecting to the service.  In my working solution can see there are 6 calls to the report service.  When i watch in my main solution that is not working I see only 3 calls to the report service and the third is calling some sort of cancel process.

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
<s:Header>
<a:Action s:mustUnderstand="1">http://tempuri.org/IReportProcessorService/Cancel</a:Action>
<a:MessageID>urn:uuid:1be4a618-8d88-4a03-aa96-72b39b72370c</a:MessageID>
<a:SequenceAcknowledgement>
<a:ReplyTo>http://www.w3.org/2005/08/addressing/anonymous</a:ReplyTo>
</a:SequenceAcknowledgement>
<a:To s:mustUnderstand="1">http://localhost:52101/igReports/igReportService.svc</a:To>
</s:Header>
<s:Body>
<Cancel xmlns="http://tempuri.org/">
<token>958e9b72-5e56-489d-a53a-d000132e6bc1</token>
<cleanReportResources>true</cleanReportResources>
</Cancel>
</s:Body>
</s:Envelope>

Where as the working solution does this 

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">

<s:Header>
<a:Action s:mustUnderstand="1">http://tempuri.org/IReportProcessorService/ProcessReport</a:Action>
<a:MessageID>urn:uuid:3c634507-63b2-4b96-b270-af96333a59ae</a:MessageID>
<a:SequenceAcknowledgement>
<a:ReplyTo>http://www.w3.org/2005/08/addressing/anonymous</a:ReplyTo>
</a:SequenceAcknowledgement>
<a:To s:mustUnderstand="1">http://localhost:56279/ReportService1.svc</a:To>
</s:Header>
<s:Body>
<ProcessReport xmlns="http://tempuri.org/">
<token>b609f79a-a3c6-4275-becf-f825534ac39c</token>
<selectedParameterValues xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
</selectedParameterValues>
<pageSettingsData i:nil="true" xmlns:b="http://schemas.datacontract.org/2004/07/Infragistics.Reports.Client" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
</pageSettingsData>
</ProcessReport>
</s:Body>
</s:Envelope>

Any help please?

Thanks

Kevin