i m creating mobile application for windows mobile 6.i m uploading an image on url/website.
for this i m using webrequest and webresponse class.at the time of getting response i m getting this type of error-
The remote name could not be resolved..
my code is-
String url = "http://weblogs.asp.net/scottgu/rss.aspx";
System.Net.WebRequest request = System.Net.WebRequest.Create(url);
request.Credentials = System.Net.CredentialCache.DefaultCredentials;
System.Net.WebResponse response = null; System.IO.Stream stream = null; response = request.GetResponse(); stream = response.GetResponseStream();
any one can help me..
thx in Advance…
While I don't have specific experience with Windows Mobile this error message generally indicates a failure to resolve a hostname to an IP address. This can happen for a number of reasins including:
Hope this helps