Repairing a Corrupt App Cache

ClickOnce is a Microsoft technology that enables the user to install and run a Windows-based smart client application by clicking a link in a web page. Applications such as the Breezy Home Connector or Google Chrome are installed in a special user directory. From time to time, this directory, or cache, may be corrupted resulting in errors during installation such as “Value does not fall within the expected range.”

Typically, running the following command from an elevated command prompt will repair the cache:

rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache

If the previous command does not resolve the issue it may be best to simply delete the folder specific to the Breezy installation. To view this folder, you will need to enable hidden and system folders:

  1. In Windows Explorer, click on “Organize > Folder and Search Options > View” and enable "Show Hidden Files, Folders, and Drives".
  2. Then, navigate to a folder somewhat like this one:
    • C:\Users\<Your_User_Name>\AppData\Local\Apps\2.0\<SomeSeriesOfNumbersAndLetters>
      • *Replacing values within the angle brackets appropriate to your environment, e.g., user name and app directory.
  3. You should be able to tell which transmogrified files go to which app by the first few letters, e.g., a folder called "bree2389029387234978" will probably have the Breezy Connector in it. If you have other ClickOnce apps in this folder, start by deleting the most recently installed folders, working backwards until your subsequent ClickOnce installation works.

Alternatively, it may be easier to simply delete everything in the \2.0 folder, but you will lose all the ClickOnce apps associated with the given user profile (take the necessary precautions, e.g., backup data).

 

Have more questions? Submit a request

Comments

Powered by Zendesk