XBAP完全信任部署 [英] XBAP full trust deployment
问题描述
我执行了以下步骤来部署需要完全信任权限的wpf应用程序:
1 - 使用makecert.exe创建证书
2 - 创建签名的应用程序和部署清单。
3 - 在IIS中构建主机文件的网站(包括MyApplication.exe.manifest和MyAppicatio.xbap)
4 - 添加用于签署清单的证书到IE证书存储(Trustes根证书颁发机构和受信任的发布者),IE菜单栏 - >工具Internet选项 - >内容 - >证书
但是当我试图在IE6浏览Xbap文件时抛出未授予异常为下载MyApplication.exe.manifest文件。
当我使用caspol.exe工具授权访问我的部署URL时,它工作得很好。
但是如何让certifcate
$ p感谢
我创建的证书已过期(过期)。
I did the following steps to deploy my wpf application that need full trust permission:
1-Creating a certificate using makecert.exe
2-Creating signed application and deployment manifests.
3-Building a website in IIS to host files (include MyApplication.exe.manifest and MyAppicatio.xbap)
4-Adding certificate - used to sign manifests - to IE certificate store (Trustes Root Certification Authorities and Trusted Publishers) , IE Menu bar->Tools Internet Options->Content->Certificates
But when i try to browse Xbap file in IE6 it throws Not granted exception for dowloading MyApplication.exe.manifest file.
When i grant access using caspol.exe tool to my deployment url , it works well.
But how can i make certifcate approach works correctly?
Thanks
I found the problem , my created certificate was out of date (expired).
这篇关于XBAP完全信任部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!