GetResponse() Error in .NET 2003

D

Dayakar

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;

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 ??
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top