Re: Socket Error: Remoting Requires DNS?

From: YeeCN (XnoXspamXyeecn_at_pd.jaring.my)
Date: 12/17/04


Date: Fri, 17 Dec 2004 13:32:33 +0800

I just discovered something new...

The problems went away when I am connected to the internet with dialup
connection!

Any clue?

Best Regards,
Yee

"YeeCN" <XnoXspamXyeecn@pd.jaring.my> wrote in message
news:eHhJDT#4EHA.1404@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> I am working through a tutorial on .NET remoting. I am stuck on the first
> line:
>
> HttpChannel channel = new HttpChannel();
>
> It gives the following socket exception:
>
> WSANO_DATA 11004
> Valid name, no data record of requested type.
> The requested name is valid and was found in the database, but it does not
> have the correct associated data being resolved for. The usual example for
> this is a host name-to-address translation attempt (using gethostbyname or
> WSAAsyncGetHostByName) which uses the DNS (Domain Name Server). An MX
record
> is returned but no A record-indicating the host itself exists, but is not
> directly reachable.
>
>
> Does the error means that I need to connect to a DNS Server? That would be
> mightly inconvenient!
>
> I am using Windows Server 2003 as a workstation (i.e. no domain
controller,
> stand alone).
>
>
> Further testing shows that using .config file give the same socket error.
>
> --------------------------------------------------------------------------
> Still further testing shows that the the following code does work:
>
> ListDictionary channelProperties = new ListDictionary();
> channelProperties.Add("machineName","localhost");
> HttpChannel channel = new HttpChannel(channelProperties,
> new SoapClientFormatterSinkProvider(),
> new SoapServerFormatterSinkProvider());
>
>
> Can somebody explain this to me?
>
> Many thanks in advance.
>
> Best Regards,
> Yee
>
>



Relevant Pages

  • Re: Cannot connect to the Internet
    ... Connection 2 Status icon shows "Connected" with a speed of 10.0 Mbps, ... The master browser has received a server announcement from the ... service will not use the network to avoid further network performance ... IE browser that prevents the IE browser from finding the DNS server. ...
    (microsoft.public.mac.virtualpc)
  • Re: My ICS connection - still from hell.
    ... HUMUNGOUS with WinXP Pro SP2 with adsl connection. ... Alternate DNS server is 10.1.1.1. ... I have Zonealarm running however the problem isn't ... I don't consider the Windows Firewall to be adequate ...
    (microsoft.public.windowsxp.network_web)
  • Re: Cannot connect to the Internet
    ... Connection 2 Status icon shows "Connected" with a speed of 10.0 Mbps, ... The master browser has received a server announcement from the ... service will not use the network to avoid further network performance ... IE browser that prevents the IE browser from finding the DNS server. ...
    (microsoft.public.mac.virtualpc)
  • Re: Cannot connect to the Internet
    ... Connection 2 Status icon shows "Connected" with a speed of 10.0 Mbps, ... The master browser has received a server announcement from the ... service will not use the network to avoid further network performance ... IE browser that prevents the IE browser from finding the DNS server. ...
    (microsoft.public.mac.virtualpc)
  • Re: Problems on Server 2008 Std
    ... Best Regards. ... A DNS server from another subnet as secondary is ok. ... only reply to Newsgroups ...
    (microsoft.public.windows.server.general)

Quantcast