title: Using Manifest gives an error 'parameter is not recognized' from MSDeploy.exe
body: <p>For ASP.NET project MSBuild gives some files in E:\tmp such as:</p>
  
  <ul>
  <li>TestProjectA.deploy.cmd</li>
  <li>TestProjectA.SetParameters.xml</li>
  <li>TestProjectA.SourceManifest.xml</li>
  <li>TestProjectA.zip</li>
  </ul>
  
  <p>To deploy from Windows 7 to Windows Server 2008 R2 (IIS 7)</p>
  
  <p>Executing command gives following error message:</p>
  
  <p><strong>Command</strong></p>
  
  <pre><code>C:\Program Files\IIS\Microsoft Web Deploy V3&gt;msdeploy.exe -verb:sync -source:manifest="E:\tmp\TestProjectA.SourceManifest.xml" -dest:auto -declareParamFile="E:\tmp\TestProjectA.SetParameters.xml"
  </code></pre>
  
  <p><strong>Error Message</strong></p>
  
  <p><code>Error: The declared parameter 'IIS Web Application Name' is not recognized.</code>
  <code>E:\tmp\TestProjectA.SetParameters.xml</code><br>
  <code>Error count: 1.</code></p>
  
  <p><strong>TestProjectA.SetParameters.xml</strong> file contains:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt;parameters&gt;
       &lt;setParameter name="IIS Web Application Name" value="Default Web Site/TestProjectA_deploy" /&gt;
       &lt;setParameter name="DefaultConnection-Web.config Connection String" value="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-TestProjectA-20140131141721;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-TestProjectA-20140131141721.mdf" /&gt;
    &lt;/parameters&gt; 
  </code></pre>
  
  <p>In IIS <code>TestProjectA_deploy</code> App exist under <code>Default Web Site</code>.</p>
  
  <p>Is there any idea to solve it?</p>