KBA-01373: When launching the Spitfire dashboard, I get a message “application cannot be started”

Purpose & Scope:

If the ClickOnce Deployment store gets corrupted, you will be unable to launch Spitfire.  Instead, you will get a message that the application cannot start.  The following will be in the details:

Error Summary

Below is a summary of the errors; details of these errors are listed later in the log.
* Activation of ‘http://spitfire/sfPMS/dashboard/app.publish/sfDash.application‘ resulted in exception. Following failure messages were detected:
+ The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
or
+ The application binding data format is invalid. (Exception from HRESULT: 0x800736B2)
or
+ System.BadImageFormatException

You may also get a sfDash Windows with the message:

+ Exception occurred during store operation. System.ArgumentException: Value does not fall within the expected range.

or

+ Unable to install this application because an application with the same identity is already installed. To install this application, either modify the manifest version for this application or uninstall the preexisting application.

Procedure:

You must clean out the ClickOnce cache files. This can be done in one of two ways:

A. Using the Cache Clearing Tool (Preferred Procedure)

  1. Go to http://deploy.spitfiremanagement.com/clickOnce/clickAgain/publish.htm to get the Clearing Tool.
  2. The tool has a single button.  Click it and it clears the ClickOnce Online Application deployment cache.
  3. After the cache has been cleared, try to open the Spitfire site again.

B.  Clearing the Cache Manually

  1. Browse to the  Local Settings\Apps\2.0 folder. Note: The exact path will vary by Operating System. Examples:

    Windows Vista or later – %LocalAppData%\Apps\2.0
    Windows XP or 2003 – C:Documents and Settings/username/Local SettingsApps2.0

  2. Delete the entire contents of the Apps2.0 folder.

Additional Comments:

Applies to sfPMS that uses Microsoft ClickOnce deployment. If you get an Access is denied message when trying to browse to the Local Settings folder, have your IT Coordinator or Network Administrator assist you with the following steps to take ownership of the folder:

  1. Right-click on the Local Settings folder and select Properties.
  2. Select the Advanced Tab.
  3. Select the Owner Tab.
  4. At the bottom of the Owner tab select Edit.
  5. Select the owner to change to, check Replace owner on subcontainers and objects, then click OK.
  6. You will be prompted to replace the directory permissions.  Click Yes.

See also KBA-01596 for other causes and resolution.


KBA-01373; Last updated: September 27, 2019 at 9:44 am;
Keywords:  ClickOnce, Spitfire, 0x800736B3, 0x800736B2, application, cannot be started, start, click, once