Click here to Skip to main content
Sign Up to vote bad
good
See more: WCF
Hi All,
I have a wcf service for which we have given the "send timeout" as 200ms but when we are calling the method of that service,the following error is
"has exceeded the allotted timeout of 00:00:00.1680000. The time
allotted to this operation may have been a portion of a longer timeout. The operation has timed out"

 
Here the alloted timeout is showing as "168ms" while we have mentioned the send timeout as 200ms in the configuration.
 
The bindingconfigutation is as follows:
 
<binding name="TestBinding" maxReceivedMessageSize="2147483647" closeTimeout="00:00:00.200" maxBufferPoolSize="2147483647" messageEncoding="Text" textEncoding="utf-8" openTimeout="00:00:00.200" receiveTimeout="00:00:00.200" sendTimeout="00:00:00.200" >
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <security mode="Transport">
            <transport clientCredentialType="Certificate" />
          </security>
        </binding>
 

 
Not sure why the service is timing out before specified timeout. Any help would be appreciated.
 
Thanks in advance,
Manisha
Posted 22 Feb '13 - 2:46

Comments
Tharaka MTR - 23 Feb '13 - 3:06
could you please share the complete configuration file?

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 355
1 OriginalGriff 325
2 Arun Vasu 268
3 CPallini 213
4 Tadit Dash 201
0 Sergey Alexandrovich Kryukov 10,005
1 OriginalGriff 7,654
2 CPallini 4,171
3 Rohan Leuva 3,447
4 Maciej Los 2,974


Advertise | Privacy | Mobile
Web02 | 2.6.130523.1 | Last Updated 22 Feb 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid