HOW to solve ... System.Net.WebException: Connection closed

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Good morning, I've a problem, in the past I translate my site from
google or altavista with a code similar to this :

<script runat="server">
    void Page_Load(Object Src, EventArgs E )
       if (!Page.IsPostBack)
      String sAddressTime =
" ";

          WebRequest req = WebRequest.Create(sAddressTime);
          WebResponse result = req.GetResponse();
          Stream ReceiveStream = result.GetResponseStream();
          StreamReader reader = new StreamReader(ReceiveStream,
          String respHTML = reader.ReadToEnd();

Now this seems no more possible and the answer is

System.Net.WebException: Connection closed: Impossibile
impossible to connect to remote server

while if I directly insert the url in a browser

I've the page correctly translated, there is a way to solve this my
problem ?? Many thanks.


Site Timeline