방금 Clickonce 응용 프로그램에 대한 업데이트를 배포했습니다. 나는 아무런 문제없이 수십 가지 업데이트를 배포했다. 이제 갑자기,이 업데이트, 내 모든 사용자는이 오류를보고있다 :ClickOnce 배포 "활성화 실패"FileNotFoundException
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\XXX\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\XXX\XXX\XXX.appref-ms| resulted in exception. Following failure messages were detected:
+ Activation failed.
+ The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
다음과 같은 오류가이 작업 중 발견 된
오류 요약.
* [3/15/2012 3:22:34 PM] 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.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile)
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.IO.FileNotFoundException
- The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
- 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)
물론 그것은이 실패을 찾고 파일을 정확하게 말해주지 않습니다. 나는 이것에 난처 해한다!
나는 그 문제를 겪고있는 동안 그것을 시도했다. ClickOnce 앱이 설치되지 않은 새로운 컴퓨터에도 설치되었습니다. 아무것도 효과가 없습니다. 프랜차이즈 설정 게시 및 기존 버전 번호 위에 퍼블리싱을하면 다시 설치하는 것이 효과가있는 것으로 보입니다. 어떤 설정 조합으로 인해 문제가 발생했는지 알 수 있었으면 좋겠다. –