Post

has exceeded the allotted timeout of 00:01:00

has exceeded the allotted timeout of 00:01:00

Problem:

I am using web service in my website, when I debug the code in my website and web service.

I get error opertion time out, error message is ...has exceeded the allotted timeout of 00:01:00


Solution:

in web.config  of website and service service using fillowing timeout settings

 closeTimeout="00:10:00"
          openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"


e.g


<system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="BasicHttpBinding_servicedname" closeTimeout="00:10:00"
          openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"


Note: make sure if you are using binding for more than  5 webserices, you need to specify timeout foreach

By  asifjans    25-Aug-2022

Solutions and sugestions


Your Answer