Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2005

Tip: Looking for answers? Try searching our database.

Connection timeout (connection closing after 100 sec )

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shmuel witman - 04 Dec 2005 11:45 GMT
Hi,

Although I setting the Connection timeout of IIS 6.0 to 600 sec

I am still seeing the connection closing after 100 sec (via perfmon -
Current Connections of Web service).

The Enable HTTP Keep-Alives in the IIS is on.

And the client sends the HTTP header Connection: Keep-Alive.

Thanks

Shmuel
Peter Kelcey - 05 Dec 2005 19:55 GMT
Shmuel

There are a number of things that can affect timeouts on your web
service calls. Here's an overview

1) There is also a config setting in your machine.config that controls
the timeout for requests. The <httpRuntime> tag has an attribute called
executionTimeout that has a default of 90 seconds. It will affect the
timeout when you are not running underdebug mode.

2) In you web service you can user the Server.ScriptTimeout to set the
request timeout in terms of seconds

3) Finally (and probably most important to your scenario) the .NET
client proxy has a property called "Timeout". Have you set a value for
this property in your code?  I think the default is 100 seconds. This
probably what is causing your timeout.

Hope that helps

Peter Kelcey
shmuel witman - 06 Dec 2005 10:59 GMT
Hi Peter,

In my question I asked about the connection that opens in the web server.

This connection should stay open until the end of the connection time or
renew on any new request

I think that your answer was about timeout of the request - response

You can this counter in prfmon app

Performance object: Web service

Counter: Current connections

(Current Connections is the current number of connections established with
the Web service)

Thanks

Shmuel

> Shmuel
>
[quoted text clipped - 17 lines]
>
> Peter Kelcey

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.