Microsoft ClickOnce Deployment - Troubleshooting

Drybridge Consulting makes use of the Microsoft ClickOnce technology to simplify the delivery of our software products. As this approach may be new to you we thought that we would provide you with an overview of the process and how it applies to Drybridge created programs. Troubleshooting information on ClickOnce installations is provided primarily as a sharing vehicle for the broader ClickOnce community, Drybridge encourages you to contact us directly with any issues you have instead of struggling to solve the issue yourself.

 

 

"Cannot start the application. Contact the application vendor for assistance."

If you look at the log and see in the ERROR DETAILS section

System.UnauthorizedAccessException
  - Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) in
    System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata

that means the ClickOnce deployment framework is not able to either write to file system / registry. Make sure that you have read/write access to

File System : %system drive%\Documents And Settings\<user name>\Local Settings\Apps\2.0
Registry      : HKEY_CURRENT_USER\Software\Classes\Software\Microsoft\Windows\CurrentVersion.

ClickOnce does need to write to the registry as well as your file system.

     

System Update Required - SQLServerCe Version nnnn must be installed in the Global Assembly Cache

SQL Server Compact Edition is Microsoft's small footprint database server. It is used by the Drybridge XML tools and should be included as an installation prerequisite to be downloaded from a Microsoft site. During the installation process you were probably asked to accept the EULA for this application. If you are receiving this warning/error message then one of two things probably has occurred.

  • I have neglected to indicate that this prerequisite should be downloaded

  • The previously downloaded SQL Server Compact Edition has been removed from the system.

In either case please drop me an email indicating that you have the problem as I should check to make sure that all the deployment criteria are set-up properly. If time is of the essence then feel free to download the installation package from this site. http://www.microsoft.com/Sqlserver/2005/en/us/compact-register.aspx You are given the opportunity to register your use of the application (not requited - not needed). There are no repercussions to taking this approach versus having the application installed as part of the Drybridge installation process. Note: Version 3.5.1.0 refers Version 3.5 SP1.

 
     

System Update Required - OpenXml Version nnnn must be installed in the Global Assembly Cache

OpenXML is Microsoft's XML file format for its Office applications. It is used by the Drybridge XML tools to produce reports and spreadsheets and should be included with the installation files. If you are receiving this warning/error message then I have neglected to take the action to include the file. Please drop me an email and I will correct the installation package.