D
Dennis
I'm getting the following problem occasionally...the application will
work perfectly well for a period of time and then this pops up.
I have tried turning off the default proxy in the web.config which I
had seen on other posts but that did not solve the problem.
Any assistance or ideas would be appreciated
Thanks
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: 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
Source Error:
Line 28: xInputDoc = New System.Xml.XmlDocument()
Line 29: strUrl = "http://www.weather.gov/alerts/us.cap"
Line 30: xInputDoc.Load(strUrl)
Line 31:
Line 32: xNodeList = xInputDoc.GetElementsByTagName
("cap:info")
Source File: D:\Web\Weather\Default2.aspx.vb Line: 30
Stack Trace:
[SocketException (0x274c): 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]
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,
SocketAddress socketAddress) +1002146
System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +33
System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure,
Socket s4, Socket s6, Socket& socket, IPAddress& address,
ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout,
Exception& exception) +431
[WebException: Unable to connect to the remote server]
System.Net.HttpWebRequest.GetResponse() +1502011
System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials
credentials) +61
System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials
credentials) +1868464
System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role,
Type
ofObjectToReturn) +51
System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +44
System.Threading.CompressedStack.runTryCode(Object userData) +54
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteed
Cleanup(TryCode
code, CleanupCode backoutCode, Object userData) +0
System.Threading.CompressedStack.Run(CompressedStack compressedStack,
ContextCallback callback, Object state) +174
System.Xml.XmlTextReaderImpl.OpenUrl() +199
System.Xml.XmlTextReaderImpl.Read() +50
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
preserveWhitespace) +145
System.Xml.XmlDocument.Load(XmlReader reader) +96
System.Xml.XmlDocument.Load(String filename) +157
Default2.Page_Load(Object sender, EventArgs e) in D:
\Web\Weather\Default2.aspx.vb:30
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +
1061
work perfectly well for a period of time and then this pops up.
I have tried turning off the default proxy in the web.config which I
had seen on other posts but that did not solve the problem.
Any assistance or ideas would be appreciated
Thanks
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: 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
Source Error:
Line 28: xInputDoc = New System.Xml.XmlDocument()
Line 29: strUrl = "http://www.weather.gov/alerts/us.cap"
Line 30: xInputDoc.Load(strUrl)
Line 31:
Line 32: xNodeList = xInputDoc.GetElementsByTagName
("cap:info")
Source File: D:\Web\Weather\Default2.aspx.vb Line: 30
Stack Trace:
[SocketException (0x274c): 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]
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,
SocketAddress socketAddress) +1002146
System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +33
System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure,
Socket s4, Socket s6, Socket& socket, IPAddress& address,
ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout,
Exception& exception) +431
[WebException: Unable to connect to the remote server]
System.Net.HttpWebRequest.GetResponse() +1502011
System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials
credentials) +61
System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials
credentials) +1868464
System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role,
Type
ofObjectToReturn) +51
System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +44
System.Threading.CompressedStack.runTryCode(Object userData) +54
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteed
Cleanup(TryCode
code, CleanupCode backoutCode, Object userData) +0
System.Threading.CompressedStack.Run(CompressedStack compressedStack,
ContextCallback callback, Object state) +174
System.Xml.XmlTextReaderImpl.OpenUrl() +199
System.Xml.XmlTextReaderImpl.Read() +50
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
preserveWhitespace) +145
System.Xml.XmlDocument.Load(XmlReader reader) +96
System.Xml.XmlDocument.Load(String filename) +157
Default2.Page_Load(Object sender, EventArgs e) in D:
\Web\Weather\Default2.aspx.vb:30
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +
1061