问题描述
嗨
我正在尝试使用clickonce部署需要完全信任的WPF应用程序。应用程序清单使用有效的解密证书进行签名。
我得到的问题是,如果未在受信任的站点中添加URL并且某些人尝试下载应用程序,那么它将继续显示我跟着错误。是否有可用的解决方法,因为我不能要求所有客户端甚至客户端网络
将URL添加到浏览器中的可信站点。
PLATFORM VERSION INFO
Windows :6.0.6002.131072(Win32NT)
公共语言运行时
:4.0.30319.225
System.Deployment.dll
:4.0.30319.1(RTMRel.030319-0100)
clr.dll :4.0.30319.225(RTMGDR.030319- 2200)
dfdll.dll :4.0.30319.1(RTMRel。 030319-0100)
dfshim.dll :4.0.31106.0(中号ain.031106-0000)
SOURCES
部署网址 :https://www.myapplicationurl.com/MyApplication_UAT1.application
服务器 :Microsoft-IIS / 7.0
X-Powered-By :ASP.NET
错误摘要
以下是错误摘要,这些错误的详细信息将在日志中列出。
*激活https://www.myapplicationurl.com/ MyApplication_UAT1.application导致异常。检测到以下失败消息:
+您的Web浏览器设置不允许您运行已签名的应用程序。
COMPONENT STORE TRANSACTION FAILURE SUMMARY
未检测到交易错误。
警告
此操作期间没有警告。
操作进度状态
* [5/24/2011 12:10:45 PM]:https://www.myapplicationurl.com/MyApplication_UAT1.application的激活已经开始。
错误细节
在此操作过程中检测到以下错误。
* [5/24/2011 12:10:46 PM] System.Deployment.Application.InvalidDeploymentException(清单)
- 您的Web浏览器设置不允许您运行已签名的应用程序。
- 来源:System.Deployment
- 堆栈跟踪:
在System.Deployment.Application.ApplicationActivator.BrowserSettings.Validate(String manifestPath)
System.Deployment.Application.Application.ApplicationActivator.PerformDeploymentActivation上的 (Uri activationUri,Boolean isShortcut,String textualSubId,String deploymentProviderUrlFromExtension,BrowserSettings browserSettings,String& System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(对象状态)中的
errorPageUrl)
COMPONENT STORE TRANSACTION DETAILS
Hi
I am trying to deploy a WPF application which requires full trust using clickonce. The application manifest is signed using a valid thawte certificate.
The problem I am getting is that if the url is not added in Trusted Sites and some one tries to download the application then it keeps showing me following error. Is there a workaround available for this as I can not ask all clients or even client networks to add the url into trusted sites in their browser.
PLATFORM VERSION INFO
Windows : 6.0.6002.131072 (Win32NT)
Common Language Runtime : 4.0.30319.225
System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100)
clr.dll : 4.0.30319.225 (RTMGDR.030319-2200)
dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100)
dfshim.dll : 4.0.31106.0 (Main.031106-0000)
SOURCES
Deployment url : https://www.myapplicationurl.com/MyApplication_UAT1.application
Server : Microsoft-IIS/7.0
X-Powered-By : ASP.NET
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of https://www.myapplicationurl.com/MyApplication_UAT1.application resulted in exception. Following failure messages were detected:
+ Your Web browser settings do not allow you to run signed applications.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [5/24/2011 12:10:45 PM] : Activation of https://www.myapplicationurl.com/MyApplication_UAT1.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [5/24/2011 12:10:46 PM] System.Deployment.Application.InvalidDeploymentException (Manifest)
- Your Web browser settings do not allow you to run signed applications.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ApplicationActivator.BrowserSettings.Validate(String manifestPath)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
COMPONENT STORE TRANSACTION DETAILS
这篇关于ClickOnce - 完全信任和可信站点IE问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!