?
Solved

HTtP Request Timeout

Posted on 2011-09-12
5
Medium Priority
?
371 Views
Last Modified: 2012-05-12
I need to understand the timieout below and what is actually happening.

In a class I have  
 Dim request As HttpWebRequest = DirectCast(WebRequest.Create(strUrl), HttpWebRequest)
blah...blah....blah...
request.Timeout = Convert.ToInt32(ConfigurationManager.AppSettings("DEV_CERTIFICATE_TIMEOUT"))

The appsetting number is 7200.

So...how long is that timeout?\
And does that apply to the request itself...and how would that be impacted by any IIS timeouts?
0
Comment
Question by:lrbrister
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 1

Expert Comment

by:rerard
ID: 36524015
It is milliseconds, so 7200 ms = 7.2 seconds.

0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 36526261
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 36526264
Is the following your problem?


A Domain Name System (DNS) query may take up to 15 seconds to return or time out. If your request contains a host name that requires resolution and you set Timeout to a value less than 15 seconds, it may take 15 seconds or more before a WebException is thrown to indicate a timeout on your request.
0
 

Author Closing Comment

by:lrbrister
ID: 36529398
Thanks...best and most complete answer
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 36532054
Glad to help :-)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question