无法重拨远程名称 [英] Remote name could not be resloved

查看:46
本文介绍了无法重拨远程名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I am Developing an apps that send email on proxy server.By using PHP Script 
its works fine on local pc.But when code runs on windows server 2008 IIS.its create exception.Remote name could not be resloved.Pls help me.Thanks in advance for your valuable time

<pre lang="c#">
 WebClient wc = new WebClient();
        var data = new System.Collections.Specialized.NameValueCollection();
        data.Add("name", username);
        data.Add("emailid", emailid);
        data.Add("dept", dept);
        data.Add("cdept", compliantdept);
        data.Add("message", message);
        //data.Add("Password", "SecretPassword");
        byte[] result = wc.UploadValues("http://www.********.com/sendingmail.php", "POST", data);

推荐答案

这不是您的代码问题。这意味着服务器无法找到 www。*******。com 的I​​P地址。请该服务器的管理员检查DNS配置。
That''s not a problem of your code. It means that the server is not able to find the IP address of www.*******.com. Ask the admin of that server to check the DNS configuration.


这篇关于无法重拨远程名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆