Ask a Question related to ASP.NET General, Design and Development.
-
yysiow #1
WebClient Problem
hi,
i using WebClient to get the website.
like
string URL = "http://127.0.0.1/index.htm";
WebClient client = new WebClient();
Stream data = client.OpenRead(URL);
StreamReader reader = new StreamReader(data);
is no problem, if i change the URL to
"http://127.0.0.1:3838/index.htm"
(add one port ) and the message is the server committed an HTTP protocal
violation.
so how can i sol this problem..
thanks.
yysiow Guest
-
Webclient w/ Proxy
I have a WebClient.OpenRead that is timing out on some client machines. I believe the problem may be Proxy settings on the client machine. How... -
Program freeze when using WebClient
Hey- I made a program that gets some html and grabs all the URL's thatend with .bin (threw regexp) and pass it to a function i havecalled... -
webclient.downloadfile
I've been toying with an asp.net diretory browser and have been trying to use system.net.webclient.downloadfile as a means to download files from... -
DefaultCredentials and WebClient
I'm trying to make a call inside an ASP.NET web application to an external quasi-web service (aka FrontPage Server Extensions): Dim rpcClient As... -
CookieContainer with WebClient
Any help appreciated ... I am trying to connect to a site that requires authentication through cookies, and be able to navigate through several... -
Sandeep Alur #2
WebClient Problem
It looks like the communication has to happen via Port 80
and no other port when communicating using HTTP Protocol.
Have you created a separate web site other than the
default website as mentioned in the URI.
Thanks,
Sandeep Alur
committed an HTTP protocal>-----Original Message-----
>hi,
>
> i using WebClient to get the website.
> like
> string URL = "http://127.0.0.1/index.htm";
> WebClient client = new WebClient();
> Stream data = client.OpenRead(URL);
> StreamReader reader = new StreamReader(data);
>
> is no problem, if i change the URL to
>
> "http://127.0.0.1:3838/index.htm"
>
> (add one port ) and the message is the server>violation.
>
> so how can i sol this problem..
>
> thanks.
>
>
>
>
>.
>Sandeep Alur Guest



Reply With Quote

