Click here to Skip to main content
15,889,931 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Problem with Connection String Pin
Christian Graus25-Sep-09 0:32
protectorChristian Graus25-Sep-09 0:32 
AnswerRe: Problem with Connection String Pin
Vasudevan Deepak Kumar25-Sep-09 1:15
Vasudevan Deepak Kumar25-Sep-09 1:15 
AnswerRe: Problem with Connection String Pin
Abhishek Sur25-Sep-09 10:00
professionalAbhishek Sur25-Sep-09 10:00 
QuestionLive Eerver Error Pin
Abbas_here25-Sep-09 0:01
Abbas_here25-Sep-09 0:01 
AnswerRe: Live Eerver Error Pin
Christian Graus25-Sep-09 0:33
protectorChristian Graus25-Sep-09 0:33 
GeneralRe: Live Eerver Error Pin
Abbas_here25-Sep-09 0:54
Abbas_here25-Sep-09 0:54 
AnswerRe: Live Eerver Error Pin
sashidhar25-Sep-09 0:36
sashidhar25-Sep-09 0:36 
GeneralRe: Live Eerver Error Pin
Abbas_here25-Sep-09 0:58
Abbas_here25-Sep-09 0:58 
Hi Sashidhar..

Here is a function which are we using for importing rss feed.....
public void getRss()
    {
        //create web request
        WebRequest rssReq = WebRequest.Create("http://www.morningstaradvisor.com/rssdata/xml/getrssdata.xml");
        //create a proxy
        WebProxy ps = new WebProxy("http://www.morningstaradvisor.com/rssdata/xml/getrssdata.xml", true);
        //assgin the proxy to web request
        rssReq.Proxy = ps;
        rssReq.Timeout = 50000;

        try
        {
            //get web response
            WebResponse rep = rssReq.GetResponse();
            
            //read the response in a xmlTextReader
            XmlTextReader xtr = new XmlTextReader(rep.GetResponseStream());
            DataSet ds = new DataSet();
            rep.Close();
            ds.ReadXml(xtr);

            rssRepeater.DataSource = ds.Tables[3];
            rssRepeater.DataBind();
           
        }
        catch (Exception ex)
        {
            throw ex;
     
        }


it gives error.....

System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 216.228.228.150:80 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at _Default.getRss() at _Default.Page_Load(Object sender, EventArgs e)

GeneralRe: Live Eerver Error Pin
Vasudevan Deepak Kumar25-Sep-09 1:17
Vasudevan Deepak Kumar25-Sep-09 1:17 
GeneralRe: Live Server Error Pin
Abbas_here25-Sep-09 1:29
Abbas_here25-Sep-09 1:29 
GeneralRe: Live Eerver Error Pin
sashidhar25-Sep-09 2:12
sashidhar25-Sep-09 2:12 
GeneralRe: Live Server Error Pin
Abbas_here25-Sep-09 2:34
Abbas_here25-Sep-09 2:34 
GeneralRe: Live Server Error Pin
sashidhar25-Sep-09 2:43
sashidhar25-Sep-09 2:43 
GeneralRe: Live Server Error Pin
Richard MacCutchan25-Sep-09 2:45
mveRichard MacCutchan25-Sep-09 2:45 
QuestionCompositeControl AJAX Problem Pin
deezZ24-Sep-09 23:30
deezZ24-Sep-09 23:30 
Questioncrystal report error Pin
vikas shukla24-Sep-09 21:49
vikas shukla24-Sep-09 21:49 
AnswerRe: crystal report error Pin
N a v a n e e t h24-Sep-09 22:40
N a v a n e e t h24-Sep-09 22:40 
GeneralRe: crystal report error Pin
vikas shukla24-Sep-09 23:10
vikas shukla24-Sep-09 23:10 
GeneralRe: crystal report error Pin
gery12830-Jun-10 20:45
gery12830-Jun-10 20:45 
QuestionEmbedding an aspx page as a WebResource Pin
C.Shivashankar24-Sep-09 21:34
C.Shivashankar24-Sep-09 21:34 
AnswerRe: Embedding an aspx page as a WebResource Pin
Abhishek Sur25-Sep-09 12:06
professionalAbhishek Sur25-Sep-09 12:06 
QuestionIssue with downloading text/ppt files through CHROME [modified] Pin
jophinmichael24-Sep-09 21:28
jophinmichael24-Sep-09 21:28 
QuestionRepeater Size Pin
Abbas_here24-Sep-09 20:24
Abbas_here24-Sep-09 20:24 
AnswerRe: Repeater Size Pin
Christian Graus24-Sep-09 20:35
protectorChristian Graus24-Sep-09 20:35 
GeneralRe: Repeater Size Pin
Abbas_here24-Sep-09 20:45
Abbas_here24-Sep-09 20:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.