Clickonce , "Your Web browser settings do not allow you to run unsigned applications.!

为君一笑 提交于 2019-12-07 08:21:44

问题


We're trying to deploy an unsigned clickonce application. For some users this fails with the below error, while for others its no problem.

This is probably a security setting somewhere, but we have been unable to find it. Any tips on how to allow this application to be installed (bar signing it )

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.

回答1:


I had the same problem in Internet Explorer 7 today. I had to change three settings to resolve the issue.

I'm sure a lot of this depends on your specific security configuration, but hopefully this will be useful to someone else.


1 - Tools->Options->Security tab->Trusted Sites->Sites button->Add->OK


2 - Tools->Options->Security tab->Trusted Sites->Custom Level->Automatic logon with current user and password


3 - Tools->Options->Advanced->Allow software to run even if the signature is invalid




回答2:


For me worked check in Internet Options -> Advanced -> "Allow Software to run or install even if the signature is invalid"




回答3:


If your users are using IE have a look in Internet Options -> Advanced -> Security -> anything to do with signatures and/or certificates.

Otherwise do like Karl said: sign the thing. Why wouldn't you want it signed? Even inside our corporate network we sign code and applications.



来源:https://stackoverflow.com/questions/4385878/clickonce-your-web-browser-settings-do-not-allow-you-to-run-unsigned-applicat

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!