ClickOnce Error: Value doesn't Fall within the Expected Range

If ClickOnce Store gets Corrupted we get Error of "Value doesn't Fall within the Expected Range"

Workaround
Remove Package Metadata registry Keys

*HKEY_USERS\S-1-5-21-2146773085-903363285-719344707-241793_Classes(Sid Would be machine specific)\Software\Microsoft\Windows\CurrentVersion\Deployment\SideBySide\2.0\PackageMetadata\{2ec93463-b0c3-45e1-8364-327e96aea856}_{3f471841-eef2-47d6-89c0-d028f03a4ad5}

*HKEY_USERS\S-1-5-21-2146773085-903363285-719344707-241793_Classes\Software\Microsoft\Windows\CurrentVersion\Deployment\SideBySide\2.0\PackageMetadata\{2ec93463-b0c3-45e1-8364-327e96aea856}_{60051b8f-4f12-400a-8e50-dd05ebd438d1}

Note: Please take Back up of registry Before removing It.