has exceeded the allotted timeout of 00:01:00
Microsoft Net Framework

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

Share This with your friend by choosing any social account


Upcoming Articles
You may also read following recent Post
Copyright Future Minutes © 2015- 2024 All Rights Reserved.   Terms of Service  |   Privacy Policy |  Contact US|  Pages|  Whats new?
Update on: Dec 20 2023 05:10 PM