has exceeded the allotted timeout of 00:01:00

  By Junaid A   Posted on August-25-2022   235

.Net

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

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 Views  235



You may also read following recent Post

Recent Column What are 3 C
198  By
Recent Column what is .net
421  By