Back to list
Views:   0
Replies:  0
Archived
,
Reply 1
Service Timeout value can be set in three places

A. To increase the Timeout property of the Web service proxy.
        
        MyServiceRef serviceRef= new MyServiceRef();
        obj.Timeout = -1; // -1 for infinite or + any positive value in milliseconds
                
B. To Increase Increase timeout value in httpruntime tag in web/app.config of ASP.NET

        <httpRuntime executionTimeout="<<milliseconds>>" />

C. To increase timeout value in httpruntime tag in web-config of Web Services
project.

adviced locaiton is cliend side, don't play with at serverside. it might effect other clients.


Thanks,
Hops this helps
Srihari Chinna, Oct 23, 2010
Reply 2
There are actually 2 ways to configure time out:

--- On the server side, you can set/change this time out in web.config See: <httpRuntimeexecutionTimeout="..."/>
and
--- On the client side, you can set Timeout property in class called SoapHttpClientProtocol
Rahul Kansara, Oct 01, 2010
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas