从Visual Studio创建本地STS时出错 [英] Error creating a local STS from Visual studio
本文介绍了从Visual Studio创建本地STS时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我尝试运行两个指南/培训套件:
- 在Windows Azure WebRoles上启用联合身份验证的指南...使用Windows身份基础
- Identity Developer Training Kit(2009年5月)
但是当我尝试使用以下错误消息创建本地STS时两者都失败了
"部分或全部身份引用无法转换"
刚创建了STS解决方案和WEB站点,但FederationMetadata.xml为空,在启动站点时导致空引用。
Per
推荐答案
您是否通过在管理员权限下运行VS来创建STS项目?您需要在管理员权限下运行VS,因为在VS中创建STS项目会在本地证书存储中安装默认的x.509证书。否则,FederationMetadata.xml文件将为空。
Did you create the STS project by running VS under admin rights? You need to run VS under admin rights cause creating an STS project in VS installs a default x.509 certificate in your local certificate store. Otherwise the FederationMetadata.xml file will be empty.
这篇关于从Visual Studio创建本地STS时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文