XBAP 全信任部署 [英] XBAP full trust deployment

查看:41
本文介绍了XBAP 全信任部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我执行了以下步骤来部署需要完全信任权限的 wpf 应用程序:

I did the following steps to deploy my wpf application that need full trust permission:

1-使用 makecert.exe 创建证书

1-Creating a certificate using makecert.exe

2-创建签名的应用程序和部署清单.

2-Creating signed application and deployment manifests.

3-在 IIS 中构建网站以托管文件(包括 MyApplication.exe.manifest 和 MyAppicatio.xbap)

3-Building a website in IIS to host files (include MyApplication.exe.manifest and MyAppicatio.xbap)

4-添加证书 - 用于签署清单 - 到 IE 证书存储(信任根证书颁发机构和受信任的发布者),IE 菜单栏->工具 Internet 选项->内容->证书

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

但是,当我尝试在 IE6 中浏览 Xbap 文件时,它会抛出未授予下载 MyApplication.exe.manifest 文件的异常.

But when i try to browse Xbap file in IE6 it throws Not granted exception for dowloading MyApplication.exe.manifest file.

当我使用 caspol.exe 工具向我的部署 url 授予访问权限时,它运行良好.

When i grant access using caspol.exe tool to my deployment url , it works well.

但是我怎样才能使证书方法正确工作?

But how can i make certifcate approach works correctly?

谢谢

推荐答案

我发现了问题,我创建的证书已过期(已过期).

I found the problem , my created certificate was out of date (expired).

这篇关于XBAP 全信任部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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