title: Fresh Windows 10 Install - IIS 10 - Existing MVC App not working
body: <p>I've been spending all day to get this working but with no luck :( Hopefully someone can help.</p>
  
  <p>I installed a fresh copy of Windows 10 on my dev machine this morning. After the install, I installed IIS 10 (Selected all options), and then I started my Visual Studio 2015 Pro Installation. </p>
  
  <p>After setting everything, I can't get my existing ASP.NET 4.5 MVC Application to run. The application is configured to use Local IIS, and not IIS Express. I have configured the Virtual Directly, and I believe I have granted all the permissions. (I have done this many times in the past with older Windows versions, had no issues).</p>
  
  <p>My IIS application uses an AppPool called "home". I have assigned the AppPool to the application, and have also granted folder permission to the following users: "IIS AppPool\home", NETWORK SERVICES, IIS_USRS.</p>
  
  <p>For the LOVE OF GOD, I cannot get the application to run, I get the following error:</p>
  
  <blockquote>
    <p><strong>HTTP Error 500.19 - Internal Server Error</strong></p>
    
    <p>The requested page cannot be accessed because the related
    configuration data for the page is invalid.</p>
    
    <p>Config File:     \?\C:\Workspace\Git\Source\MyHomeApp\web.config</p>
    
    <p><strong>Config Source:</strong><br>
       -1: 
        0:</p>
  </blockquote>
  
  <p>That's the full message, nothing else. I double checked my .config file, its fine, no dodgy characters. When I switch the application to IIS Express, it works perfectly. So it seems im missing some IIS configuration!</p>
  
  <p>What's interesting is: When I create a new ASP.NET MVC 4.5 web application within VS2015, and I go into properties of the project and set it to use Local IIS, then the new application works!!!</p>
  
  <p>So I've established two things:</p>
  
  <ol>
  <li>IIS works fine with ASP.NET 4.5 applications (All components installed etc..)</li>
  <li>There is nothing wrong with my HOME application web.config file, as tested using IIS Express it works just fine.</li>
  </ol>
  
  <p>I give up... hope someone can help!</p>