title: ClickOnce Manifest and Deployment Issue
body: <p>Some users (but not all) are getting an error when they attempt to install a ClickOnce application from a particular web server.  This is the error they are getting:</p>
  
  <blockquote>
    <p>PLATFORM VERSION INFO
     Windows    : 5.1.2600.196608 (Win32NT)
     Common Language Runtime  : 2.0.50727.3615
     System.Deployment.dll   : 2.0.50727.3053 (netfxsp.050727-3000)
     mscorwks.dll    : 2.0.50727.3615 (GDR.050727-3600)
     dfdll.dll    : 2.0.50727.3053 (netfxsp.050727-3000)
     dfshim.dll    : 4.0.31106.0 (Main.031106-0000)
    SOURCES
     Deployment url   : <strong><a href="http://TheCorrectDeploymentURL/MyApp.application" rel="nofollow noreferrer">http://TheCorrectDeploymentURL/MyApp.application</a></strong>
    ERROR SUMMARY
     Below is a summary of the errors, details of these errors are listed later in the log.
     * Activation of <strong><a href="http://TheCorrectDeploymentURL/MyApp.application" rel="nofollow noreferrer">http://TheCorrectDeploymentURL/MyApp.application</a></strong> resulted in exception. Following failure messages were detected:
      + Exception reading manifest from <strong><a href="https://TheWrongServer.TheUrlForLoggingIntoTheVPN.com/url_3/welcome.cgi" rel="nofollow noreferrer">https://TheWrongServer.TheUrlForLoggingIntoTheVPN.com/url_3/welcome.cgi</a></strong>: the manifest may not be valid or the file could not be opened.
      + The 'link' start tag on line 14 does not match the end tag of 'noscript'. Line 15, position 3.
    COMPONENT STORE TRANSACTION FAILURE SUMMARY
     No transaction error was detected.
    WARNINGS
     There were no warnings during this operation.
    OPERATION PROGRESS STATUS
     * [8/24/2010 1:15:12 PM] : Activation of <strong><a href="http://TheCorrectDeploymentURL.com/MyApp.application" rel="nofollow noreferrer">http://TheCorrectDeploymentURL.com/MyApp.application</a></strong> has started.
    ERROR DETAILS
     Following errors were detected during this operation.
     * [8/24/2010 1:15:37 PM] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
      - Exception reading manifest from <strong><a href="http://TheCorrectDeploymentURL.com/publish.htm" rel="nofollow noreferrer">http://TheCorrectDeploymentURL.com/publish.htm</a></strong></p>
  </blockquote>
  
  <p>It is trying to read the manifest from the wrong location.  The exception happens when ClickOnce thinks the web page for the VPN is the manifest for the application.  Any idea on why Clickonce is trying to read the manifest from the VPN connection's URL rather than the server where the clickonce app is deployed?</p>
  
  <p>Thanks!</p>