无法从远程服务器访问WCF数据服务

时间:2013-11-14 08:11:09

标签: c# wpf wcf microsoft-metro windows-store-apps

我有这样的服务:

> http://108.109.95.29/winrtapp/THA001_devDataService.svc/

它给了我一个错误:

我在Windows Server 2003 IIS上托管这些服务,当我从localhost调用相同的服务时,它工作正常。

我正在windows metro application app

中访问此服务

错误是:

enter image description here

`

1 个答案:

答案 0 :(得分:0)

访问https时出错。由于我没有在我的机器上安装必要的证书,所以我无法访问它。

同样,你的Windows手机也没有证书。那就是它给出了那个错误

error

当我为azure制作wcf服务时,我遇到了类似的情况。

See if this helps you

检查我必须为我的mvc应用程序编写的控制器中的代码。我必须提供证书的路径才能验证我的https。

类似地,您必须为您的Windows Phone编写代码以验证https请求。