ClickOnce Installation Errors with Message - Application cannot be started. Contact the application vendor.

Article ID: 2647493 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

A ClickOnce application can be published successfully however when attempting to install and launch an error message and log show the following:

Message BoxTitle:
Cannot Start Application

Application cannot be started.  Contact the application vendor.
(OK) (Details)
Log Snippet:
ERROR SUMMARY
 Below is a summary of the errors, details of these errors are listed later in the log.
 * An exception occurred while determining trust. Following failure messages were detected:
  + Value does not fall within the expected range.

CAUSE

When the ampersand special character is used within the folder structure of the published ClickOnce application the installation and launching will fail. Other special characters such as  : \ / ? * < > are blocked by the operating system. Others such as + ` ; { [ } ] # ! @ # $ % ^ ( ) can be used successfuly however it is always advisable not to use any special characters in either file or folder names.

RESOLUTION

Avoid using the "&" ampersand special character in the folder names for ClickOnce published locations.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2647493 - Last Review: June 21, 2012 - Revision: 1.0
APPLIES TO
  • Microsoft .NET Framework 2.0
  • Microsoft .NET Framework 2.0 IA64 Edition
  • Microsoft .NET Framework 2.0 Service Pack 1 (x86)
  • Microsoft .NET Framework 2.0 Service Pack 2
  • Microsoft .NET Framework 2.0 Software Development Kit
  • Microsoft .NET Framework 2.0 x64 Edition
  • Microsoft .NET Framework 3.0
  • Microsoft .NET Framework 3.0 Service Pack 1
  • Microsoft .NET Framework 3.0 Service Pack 2
  • Microsoft .NET Framework 3.5
  • Microsoft .NET Framework 3.5 Service Pack 1
  • Microsoft .NET Framework 4
Keywords: 
KB2647493

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com