locked
web service host timeout RRS feed

  • Question

  • User713522837 posted

    I have created a method and hosted a web service(asmx). The client application which is using my hosted web service is getting time out errors.

    how do I set the timeout in the host application(not the client)?

    The following is the web.config file. Could anyone please let me know how to set the timeout on the web service.

     

    <?xml version="1.0"?>

    <!--
      For more information on how to configure your ASP.NET application, please visit
      http://go.microsoft.com/fwlink/?LinkId=169433
      -->

    <configuration>
        <system.web>
          <compilation debug="true" targetFramework="4.0">
                  </compilation>
        </system.web>
     
      <connectionStrings>
        <add name="jkjk" connectionString="Data Source = abc;User ID = sample;Password = dfdf;"/>
      </connectionStrings>
    </configuration>

    Friday, August 1, 2014 1:29 PM

Answers