我最近安装了新开发PC,这是64位,并具有IIS 7我开发一个Web应用程序,这是我会定期部署到我的旧PC的发展。 在我的新开发PC,我提示以下错误:
[SocketException (0x273b): The requested protocol has not been configured into the system, or no implementation for it exists]
System.Net.Dns.InternalGetHostByAddress(IPAddress address, Boolean includeIPv6, Boolean throwOnFailure) +1576906
System.Net.Dns.GetHostByAddress(String address) +117
_Default.Page_Load(Object sender, EventArgs e) +154
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
我已经调试错误,我有它追踪到下面一行:
System.Net.Dns.GetHostByAddress(Request.ServerVariables.Item("REMOTE_HOST")).HostName
如果我注释掉这一行,那么它完美的作品。 什么是这一行的问题?