2016-08-09 2 views
1

ClickOnce를 통해 배포 된 WPF 응용 프로그램을 시작할 때 문제가 있습니다. 이 문제점이있는 사용자는 최근에 .NET 4.6.2로 업데이트되었지만 응용 프로그램 자체는 4.5.2에서 작성되고 컴파일되었습니다. 하지만 로그에서 볼 수 있듯이 설치되므로 문제가되지 않습니다. 에 대해 어떻게 문제를 해결하는 것이 무엇에WPF 응용 프로그램을 시작할 때 액세스가 거부되었습니다.

PLATFORM VERSION INFO 
    Windows    : 6.1.7601.65536 (Win32NT) 
    Common Language Runtime  : 4.0.30319.42000 
    System.Deployment.dll  : 4.6.1055.0 built by: NETFXREL2 
    clr.dll    : 4.6.1076.0 built by: NETFXREL3STAGE 
    dfdll.dll   : 4.6.1055.0 built by: NETFXREL2 
    dfshim.dll   : 4.0.41209.0 (Main.041209-0000) 

SOURCES 
    Deployment url   : file:///C:/Users/lpiter/OneDrive%20%D0%B4%D0%BB%D1%8F%20%D0%B1%D0%B8%D0%B7%D0%BD%D0%B5%D1%81%D0%B0/appname.application 
    Deployment Provider url  : http://xyz.servername.com/appname/appname/appname.application 
         Server  : Microsoft-IIS/8.0 
    Application url   : http://appname.servername.com/appname/appname/client/appname.exe.manifest 
         Server  : Microsoft-IIS/8.0 

IDENTITIES 
    Deployment Identity  : appname.app, Version=1.6.5.888, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=x86 
    Application Identity  : appname.exe, Version=1.6.5.888, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=x86, type=win32 

APPLICATION SUMMARY 
    * Installable application. 

ERROR SUMMARY 
    Below is a summary of the errors, details of these errors are listed later in the log. 
    * Activation of C:\Users\lpiter\OneDrive xyz\appname.application resulted in exception. Following failure messages were detected: 
     + Activation failed. 
     + Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) 

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. 
    * The manifest for this application does not have a signature. Signature validation will be ignored. 
    * The manifest for this application does not have a signature. Signature validation will be ignored. 

OPERATION PROGRESS STATUS 
    * [09.08.2016 11:46:14] : Activation of C:\Users\lpiter\OneDrive xyz\appname.application has started. 
    * [09.08.2016 11:46:14] : Processing of deployment manifest has successfully completed. 
    * [09.08.2016 11:46:14] : Installation of the application has started. 
    * [09.08.2016 11:46:14] : Processing of application manifest has successfully completed. 
    * [09.08.2016 11:46:15] : Found compatible runtime version 4.0.30319. 
    * [09.08.2016 11:46:15] : Request of trust and detection of platform is complete. 
    * [09.08.2016 11:46:15] : Commit of the downloaded application has started. 
    * [09.08.2016 11:46:15] : Installation of application has successfully completed. 

ERROR DETAILS 
    Following errors were detected during this operation. 
    * [09.08.2016 11:46:15] System.Deployment.Application.DeploymentException (Activation) 
     - Activation failed. 
     - Source: System.Deployment 
     - Stack trace: 
      at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter) 
      at System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter) 
      at System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, String activationParameter, Boolean useActivationParameter) 
      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) 
     --- Inner Exception --- 
     System.UnauthorizedAccessException 
     - Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) 
     - Source: System.Deployment 
     - Stack trace: 
      at System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation) 
      at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter) 

COMPONENT STORE TRANSACTION DETAILS 
    * Transaction at [09.08.2016 11:46:15] 
     + System.Deployment.Internal.Isolation.StoreOperationStageComponent 
      - Status: Installed 
      - HRESULT: 0x0 
      - Manifest: RRDOMQQP.Q7Y.application 
     + System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata 
      - Status: Set 
      - HRESULT: 0x0 
     + System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata 
      - Status: Set 
      - HRESULT: 0x0 
     + System.Deployment.Internal.Isolation.StoreTransactionOperationType (27) 
      - HRESULT: 0x0 

어떤 아이디어 : 사용자는 여기에 우리가 가진 오류가 윈도우 7
실행? 응용 프로그램 제거 및 설치가 도움이되지 않으며 4.5.2로 롤백해도 도움이되지 않습니다.

+0

음, 액세스 거부 오류가 발생했습니다. 관리자 권한으로 실행하지 않았거나 올바른 권한을 가지고 있지 않은 것 같습니다. – OrMiz

+0

@OrMiz는 관리자 권한으로 실행을 시도했습니다. 동일한 이야기 ​​ – chester89

+0

네트워크상의 다른 사용자가 직접 이 파일에 대한 액세스 권한이 있습니까? 네트워크를 통해 EXE 파일을 실행하십시오. – OrMiz

답변

0

문제는 바이러스 백신 소프트웨어가 몇 가지 이유로 응용 프로그램을 차단한다는 것입니다 (두 개의 별도 프로그램 즉, 카스퍼 스키 및 Avast). 허용 목록에 Google 앱을 추가 한 후에 문제가 사라졌습니다.

관련 문제