|
by: Garnet2 |
last post by:
I am trying to get the following code to work :
HttpWebRequest request1 = (HttpWebRequest)
WebRequest.Create(@"http://localhost/TacUssd/8.tac");
request1.Method = "POST";
request1.Credentials = System.Net.CredentialCache.DefaultCredentials;
request1.ContentType = "application/x-www-form-urlencoded";
//Stream stream = request1.GetRequestStream();
//Stream sr = File.Open(@"D:\My Documents\Visual Studio
Projects\ussd\test.xml",...
|
by: Michael Fields |
last post by:
I have a problem with the WebClient and uploading a file to a web server. The
stream object returned from the WebClient.OpenWrite menthod throws a timeout
exception when using this method on computers w/ low bandwith ( < = 256 kbs).
The exception occurs when I call the Stream.Close method. Here is the code:
WebClient client = new WebClient();
Stream postStream = client.OpenWrite(uri,"PUT");
postStream.Write(buffer, 0, buffer.Length);...
|
by: Joey Chömpff |
last post by:
Hello,
When I'm uploading an file to a JRun WebServer (third party) with a Windows
Forms application, l always get an TimeOut while uploading, all other request
who doesn't request an post are going ok? Why? I've tried almost everything.
I also tried the KB888528 solution but this also doesn't work.
What can the KB887563 do for me?
Machine( tried on Windows 2003 Server & WinXp)
|
by: Helge Jensen |
last post by:
I am implementing a protocol which transmits messages. The messages are
most naturally transferred using the a Stream so the protocol can
communicate over serial-ports, network links, ....
If the other party never answers I must timeout -- not block, and this
gives me a problem, since the Stream concept in .NET does not reflect
timeouts. If a timeout occurs I will still need to use the same Stream
for more messages, for example re-sends....
|
by: davvel |
last post by:
It has been 6 days of re-writing the same code in different ways to try
and avoid a getResponse Timeout which haunted me for much too long now.
I am trying to do a very simple thing which is prooving the most
difficult in my career. Scrape a screen which has several session
variables within it, and send this page to an e-mail.
I have two pages in my application webform1.aspx and webform2.aspx, in
webform1.aspx I set several session...
|
|
by: Al G |
last post by:
Does anyone know what a -1 means as a Network stream read timeout?
Console.WriteLine("Timeout= {0}", stream.ReadTimeout)
returns a -1
Thanks
|
by: poe |
last post by:
Hello,
I currently have a routine that copies the contents of a web request into a string. I would like, however, to set the period after which the reader will throw an exception. I don't want my users to wait 300 seconds, instead I would rather have an exception thrown and the user notified of the service essentially being down. Here is what I've come up with, but it doesn't seem to timeout correctly. Any suggestions?
Assume any...
|
by: Zytan |
last post by:
I have a TcpClient. I set the read/write timeouts at 1 minute (in
milliseconds). I get a NetworkStream from it and confirm the timeouts
still exist. I do a NetworkStream.Write() and then a
NetworkStream.Read(). Sometimes it sits and waits -- on the Write()
or the Read() -- for 15 minutes before I get fed up and close the
app.....
I am not connecting to a TcpListener. I am connecting to a Socket
with ProtocolType.Tcp, which is...
|
by: Piotrekk |
last post by:
Hi
I am trying to upload a 700 mb file using webrequest/response model.
At 3x% I am getting the same error:
"Unable to write data to the transport connection: an established
connection was aborted by the software in your host machine"
CLIENT side script is:
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|