GetResponse() Error in .NET 2003

Discussion in 'ASP .Net' started by Dayakar, Jul 9, 2003.

  1. Dayakar

    Dayakar Guest

    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.Create
    ("http://radio.weblogs.com/0126361/rss.xml") ;
    myRequest.Timeout = 100000;
    >> WebResponse myResponse = myRequest.GetResponse();



    XmlTextReader myReader = new XmlTextReader
    (myResponse.GetResponseStream());
    XmlDocument doc = new XmlDocument
    ();
    doc.Load(myReader);


    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 ??
     
    Dayakar, Jul 9, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. William F. Robertson, Jr.

    WebRequest GetResponse getting Internal Server Error

    William F. Robertson, Jr., Jan 12, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,377
    jimgserious
    Jul 17, 2005
  2. warlord
    Replies:
    12
    Views:
    10,524
    warlord
    Apr 21, 2004
  3. =?Utf-8?B?VGVycnk=?=
    Replies:
    4
    Views:
    6,021
    =?Utf-8?B?VGVycnk=?=
    Jan 13, 2005
  4. =?Utf-8?B?UG9vamE=?=

    500 error while GetResponse()

    =?Utf-8?B?UG9vamE=?=, Sep 5, 2005, in forum: ASP .Net
    Replies:
    11
    Views:
    8,099
    Joerg Jooss
    Sep 14, 2005
  5. warlord
    Replies:
    12
    Views:
    320
    warlord
    Apr 21, 2004
Loading...

Share This Page