ClickOnce Update - System Cannot find file specified
-
Thursday, September 20, 2012 12:32 AM
Doing ClickOnce update by building new app version to a folder on my devel machine, then clicking the .application file. ClickOnce seems to be doing OK, but terminates with "cant find file specified" error (see below). Of course it doesn't want to disclose what file it can't find.
I guess I can uninstall and rerun from scratch, but this seems crazy. Any suggestions?
Thanks
PLATFORM VERSION INFO
Windows : 6.0.6002.131072 (Win32NT)
Common Language Runtime : 4.0.30319.269
System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100)
clr.dll : 4.0.30319.269 (RTMGDR.030319-2600)
dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100)
dfshim.dll : 4.0.31106.0 (Main.031106-0000)SOURCES
Deployment url : file:///E:/SSBuilds/Prodn/Sudoku-San.application
Application url : file:///E:/SSBuilds/Prodn/Sudoku-San_5_1_2_3/Sudoku-San.exe.manifestIDENTITIES
Deployment Identity : Sudoku-San.application, Version=5.1.2.3, Culture=neutral, PublicKeyToken=eb6d2ae237bab22c, processorArchitecture=msil
Application Identity : Sudoku-San.exe, Version=5.1.2.3, Culture=neutral, PublicKeyToken=eb6d2ae237bab22c, processorArchitecture=msil, type=win32APPLICATION SUMMARY
* Installable application.ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of E:\SSBuilds\Prodn\Sudoku-San.application resulted in exception. Following failure messages were detected:
+ Activation failed.
+ The system cannot find the file specified. (Exception from HRESULT: 0x80070002)COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.WARNINGS
There were no warnings during this operation.OPERATION PROGRESS STATUS
* [9/19/2012 5:18:32 PM] : Activation of E:\SSBuilds\Prodn\Sudoku-San.application has started.
* [9/19/2012 5:18:32 PM] : Processing of deployment manifest has successfully completed.
* [9/19/2012 5:18:32 PM] : Installation of the application has started.
* [9/19/2012 5:18:32 PM] : Processing of application manifest has successfully completed.
* [9/19/2012 5:18:37 PM] : Found compatible runtime version 2.0.50727.
* [9/19/2012 5:18:37 PM] : Detecting dependent assembly Sentinel.v3.5Client, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil using Sentinel.v3.5Client, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil.
* [9/19/2012 5:18:37 PM] : Detecting dependent assembly System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=msil using System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=msil.
* [9/19/2012 5:18:37 PM] : Request of trust and detection of platform is complete.
* [9/19/2012 5:18:39 PM] : Downloading of subscription dependencies is complete.
* [9/19/2012 5:18:39 PM] : Commit of the downloaded application has started.
* [9/19/2012 5:18:39 PM] : Installation of application has successfully completed.ERROR DETAILS
Following errors were detected during this operation.
* [9/19/2012 5:18:40 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.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)COMPONENT STORE TRANSACTION DETAILS
* Transaction at [9/19/2012 5:18:39 PM]
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- Status: Installed
- HRESULT: 0x0
- Manifest: AREBLDJR.AEZ.application
+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
- Status: Set
- HRESULT: 0x0
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- Status: Installed
- HRESULT: 0x0
- Manifest: Sudoku-San.exe.manifest
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\protohelp.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpFeatures.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helphomeh.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helpvers.js
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\navhelp.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpPrint.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpLics.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpLayouts.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpFindAns.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpBind.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: SsData\SSFcache.ssf
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpMaze.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpAnswer.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\Helphead.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpFountain.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Fans5.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Fans4.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Fans3.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Fans2.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Fans1.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\BindRows.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Bind2.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Bind1.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\Helppzlbanks.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\PrintA.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\PrintB.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\PrintC.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpUpdHead.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\print3s.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\BindSeg2.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\SShelpstyles.css
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\GangsA.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\BindCols.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpCT.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpCB.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Gang0s.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\CBpad1.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\CBpad2.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\CBpad3.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpOptions.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpUpdates.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Gangs1s.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Gangs2s.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Gangs4s.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\CTpad1.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\CTpad2.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\CTpad3.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\CTpad4.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\CTpad5.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\CTpad6.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\CTpad8.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\CTpadA.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\CTpadB.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\answr5.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\BindH2.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: Resources\Gong.ico
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Banks1s.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Banks2s.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Banks3s.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Banks4s.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Banks5s.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Banks6s.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Banks7s.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Banks8s.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: Sudoku-San.exe.config
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpWthrus.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: SsData\SSExamples.ss2
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpTerms.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\BindSeg.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\Agreement.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Ans1.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Ans2.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Conflict2.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\Conflict1.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpChkPtg.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpGangs.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpHdwre.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helppics\BindCOB.JPG
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\HelpEntering.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helphome1.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\AAHelpUpd.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helphome2.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helphome3.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: HelpInfo\helphome4.htm
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- Status: Installed
- HRESULT: 0x0
- Manifest: Sudoku-San.exe.genman
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: Sudoku-San.exe
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- Status: Installed
- HRESULT: 0x0
- Manifest: Ionic.Zip.dll.genman
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: Ionic.Zip.dll
+ System.Deployment.Internal.Isolation.StoreOperationInstallDeployment
- Status: Installed
- HRESULT: 0x0
- AppId: file:///E:/SSBuilds/Prodn/Sudoku-San.application#Sudoku-San.application, Version=5.1.2.3, Culture=neutral, PublicKeyToken=eb6d2ae237bab22c, processorArchitecture=msil
+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
- Status: Set
- HRESULT: 0x0
+ System.Deployment.Internal.Isolation.StoreTransactionOperationType (27)
- HRESULT: 0x0
All Replies
-
Friday, September 21, 2012 6:19 AMModerator
Hi dickey38.
Try clean clickonce cache folder and reinstall the clickonce application again.
To Windows Vista and Windows 7, the folder is C:\Users\[username]\AppData\Local\Apps\2.0
Best Regards,
Bob Wu [MSFT]
MSDN Community Support | Feedback to us
-
Friday, September 21, 2012 7:29 PM
Thanks for advice.
I think (hope) my problem was caused by an icon pointer outside my project Resources folder. It sure would be nice if the error info included the name of the missing file.
- Marked As Answer by dickey38 Friday, September 21, 2012 7:30 PM


