Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello...

I have created dual binding web services and host web services in Azure site.
I have add all code config file(binding name="WSDualHttpBinding_IService1" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:05:00" sendTimeout="00:05:00" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="65536")

and I got this Error :------------------------

System.TimeoutException: The open operation did not complete within the allotted timeout of 00:05:00. The time allotted to this operation may have been a portion of a longer timeout.
Posted
Updated 2-Feb-15 1:15am
v4

1 solution

The problem is, that the server and the client need some more time to communicate in order to complete the request; which I am still not agreeing to believe. What you need to try here is, first thing is to try to increase the timeOut value to test whether it works them or not. Otherwise, try to see for any connection problem between them both, server might not be recieving enough details or the client might not be getting the response etc.

Finally, on the Azure side, make sure that service is running correctly, and that it is responding to all of the clients on the network.
 
Share this answer
 
Comments
Abhai Oza 3-Feb-15 0:06am    
Hello...

I have checked connection and check time out status but not get.
Please give me solution.


<system.servicemodel>
<bindings>
<wsdualhttpbinding>
<binding name="WSDualHttpBinding_IService1" closetimeout="00:05:00" opentimeout="00:05:00" receivetimeout="00:05:00" sendtimeout="00:05:00" transactionflow="false" hostnamecomparisonmode="StrongWildcard" maxbufferpoolsize="524288" maxreceivedmessagesize="65536">
<readerquotas maxdepth="32" maxstringcontentlength="2147483647" maxarraylength="16384" maxnametablecharcount="16384">
<security mode="None">
<message clientcredentialtype="None" algorithmsuite="Default">




<client>
<endpoint address="http://192.168.1.100:1002/Service1.svc" binding="wsDualHttpBinding" bindingconfiguration="WSDualHttpBinding_IService1" contract="ServiceReference1.IService1" name="WSDualHttpBinding_IService1">
<identity>
<serviceprincipalname value="mcwebservice\$mcwebservice">
<dns value="192.168.1.100:1002">



This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900