Skip to content Skip to sidebar Skip to footer

System.net.webexception: Error: Nameresolutionfailure When Calling Wcf Services Throwing Exception In Mono Android Application

I am working on Mono Android Mobile applicaiton. I am calling my WCF Services in my applicaiton, I added wcf services using ->Add WebRefernce option of Project Menu. My Proble

Solution 1:

Setting Internet permission to your app and make sure that your device connected with Internet.

Solution 2:

I know this is an old post, but was facing the same error, so thought to share the solution.

  1. The best solution I found, when that exception occurs while the Wifi is connected, is just to retry my server call with a slight sleep in between. It works most of the time, otherwise if the second call fails I cancel the request.
  2. This error can also raise if the user's Wifi is very unstable or the signal is very low. The same error occurs if there is no internet connection at all, even if connected to Wifi.

Post a Comment for "System.net.webexception: Error: Nameresolutionfailure When Calling Wcf Services Throwing Exception In Mono Android Application"