title: Web Deployment Task Failed - FRAMEWORK VERSIONS DO NOT MATCH
body: <p>When I try to use web deploy to publish my app. I get this error</p>
  
  <pre><code>Web deployment task failed. (The versions of the .NET Framework Configuration Provider (machineConfig32) are different on the source (4.0) and destination (2.0).  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH.)
  </code></pre>
  
  <p>I went to this page and did #2 under ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH</p>
  
  <p><a href="http://www.iis.net/learn/publish/troubleshooting-web-deploy/web-deploy-error-codes" rel="nofollow">http://www.iis.net/learn/publish/troubleshooting-web-deploy/web-deploy-error-codes</a>.</p>
  
  <p>Restarted the service and I continue to still get the error.</p>
  
  <p>Please help.</p>
  
  <p>UPDATE:</p>
  
  <p>Ran </p>
  
  <pre><code>msdeploy -verb:sync -source:machineConfig32 -dest:machineConfig32,computerName=10.10.10.10 -disableSkipDirective:ConfigProtectedData
  </code></pre>
  
  <p>and got</p>
  
  <pre><code>C:\Program Files\IIS\Microsoft Web Deploy V3&gt;msdeploy -verb:sync -source:machine
  Config32 -dest:machineConfig32,computerName=10.10.10.10 -disableSkipDirective:Con
  figProtectedData 
  Info: Using ID '0998ab97-343f-4338-8f74-ceaf614ea0d1' for connections to the rem
  ote server.
  Total changes: 0 (0 added, 0 deleted, 0 updated, 0 parameters changed, 0 bytes c
  opied)
  </code></pre>