Tuesday, July 24, 2012

ClickOnce: The directory name is invalid

Just had this issue after deleting the local application files from a ClickOnce-deployed application. The application would not update or start.

Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of resulted in exception. Following failure messages were detected:
+ The directory name is invalid. (Exception from HRESULT: 0x8007010B)
Fortunately, the solution is simple. Delete all the files and directories from the Apps directory, where ClickOnce applications are stored.

Reference: Missing Local Files (link)

No comments: