error handling
Last Post 03-18-2011 12:34 PM by Chad Nash. 1 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Rich CampbellUser is Offline
new to the springs
new to the springs
Posts:2
Avatar

--
03-04-2011 05:59 AM
    There are several error conditions that cause this module to display stack trace errors at the top of the page. Is there are reason they can't be handled more gracefully?

    We're currently getting this error:
    System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetResponse() at outthebox.web.services.YahooQuoteWebService.GetQuote(String symbol) --- End of inner exception stack trace ---

    Any experience with this particular error? Thanks!
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    03-18-2011 12:34 PM
    Hi,

    Yes I would imagine there is a better way we can code/handle these errors better in the future... I am curious what causes them though, is it random? Maybe the server its on doesn't have access to the internet or where is this site hosted? This should only "Really" happy if finance.yahoo.com was down or if maybe your site can't connect to the internet. But either way, I am sure there is a way we can handle errors better.

    -Chad


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi