[Mono-aspnet-list] Problem using a web service.

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Mon Apr 27 10:34:45 EDT 2009


On Sun, 2009-04-26 at 13:11 -0700, smsisko wrote:
> I've been trying to use a dll that I have made which uses the "Amazon
> E-Commerce Service". When I use the library in a mono application
> (console or with a GUI), I don't have any problems, but when I try to
> use it in an asp.net application I keep getting the following errors: 
> System.Net.WebException: Error: NameResolutionFailure
>   at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x0004c] in /var/tmp/portage/dev-lang/mono-2.4/work/mono-2.4/mcs/class/System/System.Net/HttpWebRequest.cs:711
>   at System.Net.HttpWebRequest.GetRequestStream () [0x0004c] in /var/tmp/portage/dev-lang/mono-2.4/work/mono-2.4/mcs/class/System/System.Net/HttpWebRequest.cs:726
>   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke (System.String method_name, System.Object[] parameters) [0x00069] in /var/tmp/portage/dev-lang/mono-2.4/work/mono-2.4/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHttpClientProtocol.cs:367
> I welcome any hint. Thank you. 

The host name in the URL cannot be resolved to an IP address.
Make sure that you can 'dig' or 'nslookup' that host name.

-Gonzalo




More information about the Mono-aspnet-list mailing list