Re: DNS Errors ?



Are you downloading
ftp://wakeftp.co.wake.nc.us/remfdata/
files?




"Bil Click" <BilClick@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B83AF1B4-6C72-4833-B21F-F9618A88C05C@xxxxxxxxxxxxxxxx
We have a VB.NET 2.0 application running as a service on several servers.
All are either domain controllers or member servers. Service runs under
domain admin acct. Has been running for several years.

The apps start every 15 minutes and attempt to download from the same web
site. The apps have recently begun to time out at different times, with
one
connecting after 2 tries and another taking 10 tries. The log files
report:

** Source: System
** Message: The remote name could not be resolved: 'www.xxx.xxx.us'
** Stack:
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest&
request)
at System.Net.WebClient.DownloadData(Uri address)
at System.Net.WebClient.DownloadData(String address)
at CRLoader.CRLoader.GetPageHtml() in
C:\NCID\Projects\dotNet_2.0\Services\CRLoader\CRLoader.vb:line 503

** Source: System
** Message: Unable to connect to the remote server
** Stack:
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest&
request)
at System.Net.WebClient.DownloadData(Uri address)
at System.Net.WebClient.DownloadData(String address)
at CRLoader.CRLoader.GetPageHtml() in
C:\SourceCode\CRLoader_265\CRLoader.vb:line 503
** InnerException 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
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)


Our network admin says all is fine, DNS is fine. I am not convinced.

What I would like to know is where .NET get's it's DNS information. Our
app
uses:

Imports System.Net.HttpWebRequest
Imports System.Net.HttpWebResponse

Dim myCred As New NetworkCredential(My.Settings.FTPuser,
My.Settings.FTPpassword)
Dim wClient As New WebClient
wClient.Credentials = myCred
Dim pageData As Byte() = wClient.DownloadData(My.Settings.FTPurl)
pageHtml = System.Text.Encoding.ASCII.GetString(pageData)





.



Relevant Pages

  • DNS Errors ?
    ... We have a VB.NET 2.0 application running as a service on several servers. ... domain admin acct. ... or established connection failed because connected host has failed to ... Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState ...
    (microsoft.public.dotnet.general)
  • Connected Status on Sockets
    ... I have created a socket application in C++.NET that connects in non-blocking ... All my previous apps of this kind have used blocking mode at the ... non-blocking mode even after the connection is completed. ...
    (microsoft.public.dotnet.framework)
  • [PATCH 0/5] [RFC] AF_RXRPC socket family implementation [try #3]
    ... These patches together supply secure client-side RxRPC connectivity as a Linux ... kernel socket family. ... presentation side is left to the client. ... Each connection goes to a particular "service". ...
    (Linux-Kernel)
  • [PATCH 0/5] [RFC] AF_RXRPC socket family implementation
    ... These patches together supply secure client-side RxRPC connectivity as a Linux ... Make it possible for the client socket to be used to go to more than one ... Each connection goes to a particular "service". ...
    (Linux-Kernel)
  • [PATCH 0/5] [RFC] AF_RXRPC socket family implementation [try #2]
    ... These patches together supply secure client-side RxRPC connectivity as a Linux ... Make it possible for the client socket to be used to go to more than one ... Each connection goes to a particular "service". ...
    (Linux-Kernel)