title: ClickOnce Error: The deployment identity does not match the subscription
body: <p>I'm using <a href="http://en.wikipedia.org/wiki/Microsoft_Visual_Studio#Visual_Studio_2008" rel="noreferrer">Visual Studio 2008</a> SP1.</p>
  
  <p>I have a Windows Forms application deployed internally using ClickOnce in a shared folder on the local network.</p>
  
  <p>The test certificate pfx expires in 2035.</p>
  
  <p>I have published the update to the internal shared folder several times.</p>
  
  <p>Note that the project is only set to 'Sign the ClickOnce manifests' and does not sign the assembly.</p>
  
  <p>Now, I again publish a new version of my application.</p>
  
  <p>When users click on their icons to run the application we get this 
  error (it had always updated prior to deploying with the test certificate).</p>
  
  <blockquote>
    <p>Dirección URL de la implementación : <br/>
    file:///C:/Documents%20and%20Settings/Usuario.NOTARIAS3/Men%C3%BA%20Inicio/Programas/GrupoBackup/Expediente%20Electr%C3%B3nico.appref-ms%7C <br/>
    Dirección URL del proveedor de la implementación : <br/>
    file://192.168.13.111/compartida/AdministradorWin.application La <br/>
    activación de C:\Documents and Settings\Useuario.NOTARIAS3\Menú <br/>
    Inicio\Programas\GrupoBackup\Expediente Electrónico.appref-ms| dio <br/>
    como resultado una excepción. Se detectaron los siguientes mensajes de <br/>
    error: <br/>
    + The deployment identity does not match the subscription <br/>
    <br/>
    <br/>
    OPERATION PROGRESS STATUS * [2/20/2008 11:23:21 AM] : Activation of <br/>
    C:\Documents and Settings\Usuario.NOTARIAS3\Menú <br/>
    Inicio\Programas\GrupoBackup\Expediente Electrónico.appref-ms| has <br/>
    started. * [2/20/2008 11:23:21 AM] : Performing necessary update <br/>
    check as specified by the deployment. <br/></p>
  </blockquote>
  
  <p>ERROR DETAILS</p>
  
  <blockquote>
    <ul>
    <li>[21/06/2010 20:33:10] System.Deployment.Application.DeploymentException (SubscriptionState) <br/></li>
    <li>La identidad de la implementación no coincide con la suscripción. <br/></li>
    <li>Origen: System.Deployment <br/></li>
    <li>Seguimiento de la pila: en System.Deployment.Application.SubscriptionStore.CheckUpdateInManifest(SubscriptionState <br/>
    subState, Uri updateCodebaseUri, AssemblyManifest deployment, Version <br/>
    currentVersion) en <br/>
    System.Deployment.Application.ApplicationActivator.PerformDeploymentUpdate(SubscriptionState&amp; <br/>
    subState, String&amp; errorPageUrl) en <br/>
    System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String <br/>
    shortcutFile, String&amp; errorPageUrl, TempFile&amp; deployFile) en <br/>
    System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri <br/>
    activationUri, Boolean isShortcut, String textualSubId, String <br/>
    deploymentProviderUrlFromExtension, BrowserSettings browserSettings, <br/>
    String&amp; errorPageUrl) en <br/>
    System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object <br/> 
    state) <br/></li>
    </ul>
  </blockquote>
  
  <p>I use regedit to search for this key:</p>
  
  <p><em>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\7e3a7433abfe6213</em></p>
  
  <p><strong>PC non updated</strong></p>
  
  <p>AppId
  file://192.168.13.111/COMPARTIDA/AdministradorWin.application#AdministradorWin.app, Culture=neutral,
  PublicKeyToken=4b005ceeffd565b0, processorArchitecture=msil</p>
  
  <p>Version = 1.0.0.14</p>
  
  <p>FileName = Expediente Electrónico</p>
  
  <p>Publisher = GrupoBackup</p>
  
  <p>Folder Name = GrupoBackup</p>
  
  <p><strong>PC UPDATED</strong> (uninstall-reinstall, but I want to AVOID it)</p>
  
  <p>AppId
  file://192.168.13.111/compartida/AdministradorWin.application#AdministradorWin.application, Culture=neutral,
  PublicKeyToken=4b005ceeffd565b0, processorArchitecture=msil</p>
  
  <p>Version = 1.0.0.30</p>
  
  <p>FileName = Expediente Electrónico</p>
  
  <p>Publisher = GrupoBackup</p>
  
  <p>Folder Name = GrupoBackup</p>
  
  <p>SuiteName= OGF Suite</p>
  
  <p>Changes PC Non updated - Pc updated are:</p>
  
  <p>1.)
  Suite Name is new value (I set it in properties Publish tab in Visual Studio)</p>
  
  <p>2.)
  Version</p>
  
  <p>and 3.)</p>
  
  <h1>AdministradorWin.app</h1>
  
  <p>from file://192.168.13.111/COMPARTIDA/AdministradorWin.application#AdministradorWin.app,</p>
  
  <p>vs</p>
  
  <h1>AdministradorWin.application,</h1>
  
  <p>from
  file://192.168.13.111/compartida/AdministradorWin.application#AdministradorWin.application,</p>
  
  <p>If I uninstall and then reinstall the app from scratch it all works. However, I was trying to avoid having to do this.</p>
  
  <p>I get this error when I try to deploy a project that was previously successful.</p>
  
  <p>I re-tried, after deleting all the manifests, but still no joy.</p>
  
  <p>Is there a way to fix this?</p>
  
  <p>In Publish Options -> Manifests</p>
  
  <p><em>Use application manifest for trust information</em> is UN CHECKED.</p>