使用wcf服务时出错 [英] Error consuming wcf Service

查看:60
本文介绍了使用wcf服务时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用wcf服务。我可以使用控制台应用程序来使用Web服务。但是当我尝试使用Web应用程序使用该服务时,我收到ssl / tls错误。我已经安装了管理员提供给我的证书。



我的网络应用程序有什么不同之处吗?

I am trying to consume a wcf service. I can consume the web service using a console app. but when I try to consume the service using a web app, I get a ssl/ tls error. I hav installed the certificate that was given to me by the administrator.

Is there any thing different that I need to do in with my web app?

推荐答案

安装证书......计算机上有多个证书存储。如果您将其安装在用户存储中,并且IIS使用其他帐户运行,则无法访问该证书。您必须将它安装在机器商店中。
"installed the certificate"... There are several Certificate Stores on a machine. If you installed it in a user store, and IIS runs with a different account, it won't be able to access the certificate. You'll have to install it in a machine store.


这篇关于使用wcf服务时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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