473,473 Members | 1,468 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

NET -> Http web request timeout HELP

74 New Member
Hi,

Currenty I have a window based NET application running and have a following function to http post some data.

string url = xxxx.aspx? parameter1=&parameter2=&..etc

WebRequest request = WebRequest.Create(url);
request.Timeout =150000;
WebResponse response = request.GetResponse();
StreamReader stream = new StreamReader(response.GetResponseStream());
Contents = stream.ReadToEnd();

PROBLEM:
My problem is that is ALWAYS operation timeout...

CAN someone help me on THIS?
Aug 17 '07 #1
0 982

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Fran?ois-Xavier Testard-Vaillant | last post by:
In a Perl script I want to send several http requests WITHOUT waiting for the remote servers answer (i.e. just triggering http requests) and without having to create lots of processes... Thanks...
0
by: Brian Pearson | last post by:
Hi, I'm wondering how I can find out when a request timeout has occurred and handle it programmatically. Here's is what I have so far: // This handler is added to the web application's...
1
by: Sam | last post by:
Hi All I'm assigned a task to create some kind of services to monitor new sales in database and send out emails and I'm thinking to use window service to do that. Does anyone know where I can...
1
by: felippe | last post by:
Hi! I have got IIS 6.0 on Windows 2003 Server. I have installed HTTP handler (as simple reverse-proxy) - code below. I created virtual category with this dll and Wilcard application mapping set to...
0
by: felippe | last post by:
Hi! I have got IIS 6.0 on Windows 2003 Server. I have installed HTTP handler (as simple reverse-proxy) - code below. I created virtual category with this dll and Wilcard application mapping set to...
1
by: Shashank | last post by:
Hi all, I am a new member of this community. I am making a http request to a html file placed on a Apache server. On this page there is an embeded perl statement which requires reading ...
1
by: johnlim20088 | last post by:
Hi, Currenty I have a window based NET application running and have a following function to http post some data. string url = xxxx.aspx? parameter1=&parameter2=&..etc WebRequest request...
0
by: johnlim20088 | last post by:
Hi, Currenty I have a window based NET application running and have a following function to http post some data. string url = xxxx.aspx? parameter1=&parameter2=&..etc WebRequest request =...
2
by: rajeshsia | last post by:
Hi Frienzs, If we need to customize Request Timeout timeperiod, then what are different ways to do so? Scenario is: In my application, I called an action and and itz takin more time to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.