简体   繁体   English

WIF启用WCF应用程序

[英]WIF Enable WCF Application

I'm a newbie in STS. 我是STS的新手。 I'm trying to WIF enable WCF application, so i found this sample but i can not make it run. 我正在尝试WIF启用WCF应用程序,因此我找到了此示例,但无法使其运行。

I'm getting the following error: 我收到以下错误:

An unexpected exception occured. 发生意外的异常。 Server stack trace: em System.IdentityModel.Selectors.CardSpaceShim.GetCardSpaceImplementationDll()... 服务器堆栈跟踪:em System.IdentityModel.Selectors.CardSpaceShim.GetCardSpaceImplementationDll()...

Could anyone point me out the solution. 谁能指出我的解决方案。 I've searched everywhere for an answer and nothing. 我到处都在寻找答案,一无所获。

Cardspace is an extremely old Microsoft product that has been depracted for years. Cardspace是一种非常古老的Microsoft产品,已经使用了很多年。

Try: 尝试:

sc.ClientCredentials.SupportInteractive = false; sc.ClientCredentials.SupportInteractive = false;

as in: 如:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM