GetResponse() Error in .NET 2003

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dayakar

    #1

    GetResponse() Error in .NET 2003

    hi Everyone,

    i have working now with Visual Studio .NET 2003.

    Namespaces used
    using System;
    using System.Net;
    using System.xml;

    Code Lines in Page_Load Event For a Web Page


    WebRequest myRequest = WebRequest.Crea te
    ("http://radio.weblogs.c om/0126361/rss.xml") ;
    myRequest.Timeo ut = 100000;[color=blue][color=green]
    >> WebResponse myResponse = myRequest.GetRe sponse();[/color][/color]


    XmlTextReader myReader = new XmlTextReader
    (myResponse.Get ResponseStream( ));
    XmlDocument doc = new XmlDocument
    ();
    doc.Load(myRead er);


    Error Occured while Browsing the Page

    The underlying connection was closed: Unable to connect
    to the remote server

    but the same content of Code Lines is working in First
    Release of Visual studio .NET

    Its not working in Visual Studio .NET 2003

    Do anyone have solution for this ??


Working...