2014-10-04 61 views
1

我使用Visual Studio 2012編寫ClickOnce應用(WpfApplication)。 當我發佈它(可移除)並安裝在我的計算機上時,它工作正常。 但當我嘗試它的其他計算機上,我得到以下錯誤:ClickOnce應用安裝和使用錯誤

PLATFORM VERSION INFO 
    Windows    : 6.1.7600.0 (Win32NT) 
    Common Language Runtime  : 4.0.30319.17929 
    System.Deployment.dll  : 4.0.30319.17929 built by: FX45RTMREL 
    clr.dll    : 4.0.30319.17929 built by: FX45RTMREL 
    dfdll.dll   : 4.0.30319.17929 built by: FX45RTMREL 
    dfshim.dll   : 4.0.41209.0 (Main.041209-0000) 

SOURCES 
    Deployment url   : file:///D:/user/Downloads/WpfApplication.application 

IDENTITIES 
    Deployment Identity  : WpfApplication.application, Version=1.0.0.5, Culture=neutral, PublicKeyToken=e7100e24044f1f15, processorArchitecture=msil 

APPLICATION SUMMARY 
    * Installable application. 

ERROR SUMMARY 
    Below is a summary of he errors, details of these errors are listed later in the log. 
    * Activation of D:\user\Downloads\WpfApplication.application resulted in exception. Following failure messages were detected: 
     + Deployment and application do not have matching security zones. 

COMPONENT STORE TRANSACTION FAILURE SUMMARY 
    No transaction error was detected. 

WARNINGS 
    There were no warnings during this operation. 

OPERATION PROGRESS STATUS 
    * [04/10/2014 10:39:05] : Activation of D:\user\Downloads\WpfApplication.application has started. 
    * [04/10/2014 10:39:05] : Processing of deployment manifest has successfully completed. 
    * [04/10/2014 10:39:05] : Installation of the application has started. 

ERROR DETAILS 
    Following errors were detected during this operation. 
    * [04/10/2014 10:39:05] System.Deployment.Application.InvalidDeploymentException (Zone) 
     - Deployment and application do not have matching security zones. 
     - Source: System.Deployment 
     - Stack trace: 
      at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath) 
      at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath) 
      at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp) 
      at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc) 
      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. 

出版之前,我確信,我的項目是:

  • 完全信任的應用程序。
  • aviliable下線以及
  • 使用測試認證

缺少什麼我在這裏簽署了我的應用程序?

回答

0
  1. 確保至少通過測試認證簽署您的應用程序。
  2. 如果安裝任何防病毒程序,禁用它
  3. 如果您是直接從URL安裝,使用Internet Explorer
相關問題