Clickonce,“您的Web浏览器设置不允许您运行未签名的应用程序。”

时间:2010-12-08 09:25:07

标签: clickonce

我们正在尝试部署一个未签名的clickonce应用程序。对于某些用户而言,这会因以下错误而失败,而对于其他用户则没有问题。

这可能是某个地方的安全设置,但我们无法找到它。有关如何安装此应用程序的任何提示(对其进行签名)

PLATFORM VERSION INFO
    Windows             : 5.1.2600.196608 (Win32NT)
    Common Language Runtime     : 2.0.50727.3615
    System.Deployment.dll       : 2.0.50727.3053 (netfxsp.050727-3000)
    mscorwks.dll            : 2.0.50727.3615 (GDR.050727-3600)
    dfdll.dll           : 2.0.50727.3053 (netfxsp.050727-3000)
    dfshim.dll          : 4.0.31106.0 (Main.031106-0000)

SOURCES
    Deployment url          : http://xxxxx/xxxxx.application
                        Server      : Apache-Coyote/1.1
    Deployment Provider url     : http://xxxxx/xxxxx.application

ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of http://xxxxx/xxxxx.applicationresulted in exception. Following failure messages were detected:
        + Your Web browser settings do not allow you to run unsigned applications.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

WARNINGS
    * The manifest for this application does not have a signature. Signature validation will be ignored.

OPERATION PROGRESS STATUS
    * [12/8/2010 12:41:11 PM] : Activation of http://xxxxx/xxxxx.application has started.

ERROR DETAILS
    Following errors were detected during this operation.
    * [12/8/2010 12:41:12 PM] System.Deployment.Application.InvalidDeploymentException (Manifest)
        - Your Web browser settings do not allow you to run unsigned 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
    No transaction information is available.

3 个答案:

答案 0 :(得分:6)

我今天在Internet Explorer 7中遇到了同样的问题。我不得不更改三个设置来解决问题。

我确信这很大程度上取决于您的特定安全配置,但希望这对其他人有用。


1 - 工具 - >选项 - >安全标签 - >受信任的网站 - >网站按钮 - >添加 - >确定 Add the site to the list under the 'trusted sites' security zone


2 - 工具 - >选项 - >安全标签 - >可信站点 - >自定义级别 - >使用当前用户和密码自动登录 Allow automatic logon with current user and password under 'custom level'


3 - 工具 - >选项 - >高级 - >即使签名无效,也允许软件运行 enter image description here

答案 1 :(得分:5)

对我来说,工作检查互联网选项 - >高级 - > “即使签名无效,也允许软件运行或安装”

enter image description here

答案 2 :(得分:1)

如果您的用户正在使用IE,请查看“Internet选项” - >高级 - >安全 - >与签名和/或证书有关。

否则就像卡尔所说的那样:签下这件事。你为什么不想签名?即使在公司网络内部,我们也会签署代码和应用程​​序。