Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/271.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 无效URI:无法分析主机名。请勿仅使用WIndows 7 Starter(不使用Home Edition)_C#_Wcf_Windows 7 - Fatal编程技术网

C# 无效URI:无法分析主机名。请勿仅使用WIndows 7 Starter(不使用Home Edition)

C# 无效URI:无法分析主机名。请勿仅使用WIndows 7 Starter(不使用Home Edition),c#,wcf,windows-7,C#,Wcf,Windows 7,关键是调试我的C#app时我遇到了一个错误:UriFormatException未经处理。我已经创建了p2p控制台聊天 调试在 chatClient.Open() 用圆木 “无效URI:无法分析主机名。” chatClient是公共接口IPeerChannelChat继承的类的对象 与 应该提到的是,该代码在Windows7家庭版中工作 但是Windows7Starter向我显示了这个异常 你有同样的经历吗? 提前感谢。猜测:可能是chatClient.open生成了一个新进程,而且由于Wind

关键是调试我的C#app时我遇到了一个错误:UriFormatException未经处理。我已经创建了p2p控制台聊天

调试在

chatClient.Open()

用圆木 “无效URI:无法分析主机名。”

chatClient是公共接口IPeerChannelChat继承的类的对象 与

应该提到的是,该代码在Windows7家庭版中工作

但是Windows7Starter向我显示了这个异常

你有同样的经历吗?
提前感谢。

猜测:可能是chatClient.open生成了一个新进程,而且由于Windows 7 Starter edition仅限于三个并发进程,它会因此停止吗?

可能。但这让我很困惑,因为它的措辞是“无效的URI:主机名无法解析”。所以我想这应该是关于Web的。我假设交易是W7 Starter不能使用IPv6地址。您认为smth会这样吗?完整代码可在此处获得:
[ServiceContract(
    Namespace = "http://slickthought.net/peerchannel",
    CallbackContract = typeof(IPeerChannelChat))]