Tuesday, November 10, 2015

When publishing an application using ClickOnce I get the error: Value does not fall within the expected range

Sometimes when you publish an application with ClickOnce in Visual Studio, when you do an upgrade, some users get something like this:
ERROR DETAILS
    Following errors were detected during this operation.
    * [11/10/2015 10:35:30 AM] System.ArgumentException
     - Value does not fall within the expected range.
What you need to do to fix the problem is clean the App Cache, to do it, run the next command:
rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache
Another way to solve it is to clean the Apps folder in the user's machine
%user%\AppData\Local\Apps
If this does't work, uninstall the application in the Control Panel from the user's machine and reinstall it.



1 comment:

  1. AUS CAGO - Online Gambling in the US - KTM Hub
    Casino online. Gambling in 하남 출장샵 the US: 동해 출장안마 Casino games, poker, 의정부 출장안마 bingo. For poker players: AUS CAGO. For poker players: AUS 제천 출장안마 CAGO. For poker players: AUS CAGO. For poker players: AUS CAGO. For poker players: AUS CAGO. For poker players: 안성 출장안마 AUS CAGO. For poker players: AUS CAGO. For poker players: AUS CAGO. For poker players: AUS CAGO.

    ReplyDelete