title: Problem publishing an MVC app on IIS6
body: <p>I have a small MVC app that works locally, but when I publish it to the server (running IIS6), all the links get messed up.</p>
  
  <p>For example, a typical link when running locally would be:</p>
  
  <pre><code>http://localhost:3467/Exceptions?exdate=20090108
  </code></pre>
  
  <p>However, when I publish it to our dev server at <code>\\deverserver\apps\MyProject</code>, note the duplication in the URL for the same link:</p>
  
  <pre><code>http://devserver/apps/MyProject/MyProject/Exceptions?exdate=20090108
  </code></pre>
  
  <p>Any idea what's going on?</p>
  
  <p>Note: These links are all built via <code>Html.ActionLink()</code>.</p>
  
  <p>Update: I can duplicate this locally if I specify a Specific Port and Virtual Path in My Project | Web | Use Visual Studio Development Server:</p>
  
  <ul>
  <li>Specific Port: 1234</li>
  <li>Virtual Path: /apps/MyProject</li>
  <li>Resulting URL: <code>http://localhost:1234/apps/MyProject/MyProject/Exceptions?exdate=20090108</code></li>
  </ul>