[Mono-list] Exception in System.Net.Dns in XSP

Brenton Partridge bapartridge at gmail.com
Sun Nov 11 11:09:29 EST 2007


Hi all,

I posted this message a week ago, and no response yet.  If nobody has  
an obvious solution, I'll file it as a bug.

> I'm been having a problem with sending mail from my web application  
> running on xsp 1.2.5, Mono 1.2.5, Mac OS 10.4.  I've isolated the  
> problem to a "System.Net.Sockets.SocketException: No such host is  
> known at System.Net.Dns.hostent_to_IPHostEntry" from  
> System.Net.Dns.Resolve.  This happens for EVERY SINGLE DNS name or  
> IP address I put in.  This is my test case:
>
> System.Net.IPHostEntry entry = System.Net.Dns.Resolve(smtp);
>
> where smtp could be "192.168.2.3" or "smtp.aol.com" or  
> "en.wikipedia.org" or "127.0.0.1".  The interesting thing is that I  
> do NOT get this exception (it works as expected) when running from  
> a mcs-compiled executable on the command line, only from XSP.  Any  
> thoughts?
>
> Brenton

Brenton


More information about the Mono-list mailing list