title: Error on trying to configure RavenDB in IIS mode
body: <p>Following <a href="http://ravendb.net/docs/server/deployment/as-iis-application" rel="nofollow noreferrer">the steps in this tutorial</a>, the first item of "Setting up with IIS 7.5" after clicking on "Modules" in inetmgr, the following error occurs:</p>
  
  <p><img src="https://i.stack.imgur.com/QCM4s.png" alt="Modules error"></p>
  
  <blockquote>
    <p>Full image: <a href="https://i.stack.imgur.com/QCM4s.png" rel="nofollow noreferrer">http://i.stack.imgur.com/QCM4s.png</a></p>
  </blockquote>
  
  <h2>Web.config in RavenDB</h2>
  
  <pre><code>&lt;configuration&gt;
      &lt;appSettings&gt;
          &lt;add key="Raven/DataDir" value="~\Data"/&gt;
          &lt;add key="Raven/AnonymousAccess" value="Get"/&gt;
      &lt;/appSettings&gt;
      &lt;system.webServer&gt;
          &lt;handlers&gt;
              &lt;add name="All" path="*" verb="*" type="Raven.Web.ForwardToRavenRespondersFactory, Raven.Web"/&gt;
          &lt;/handlers&gt;
          &lt;modules runAllManagedModulesForAllRequests="true"&gt;
              &lt;remove name="WebDAVModule" /&gt;
          &lt;/modules&gt;
      &lt;/system.webServer&gt;
      &lt;runtime&gt;
          &lt;loadFromRemoteSources enabled="true"/&gt;
          &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
              &lt;probing privatePath="Analyzers"/&gt;
          &lt;/assemblyBinding&gt;
      &lt;/runtime&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <h2>applicationHost.config</h2>
  
  <p><a href="http://pastebin.com/UJTJfB9f" rel="nofollow noreferrer">http://pastebin.com/UJTJfB9f</a></p>
  
  <h2>Try</h2>
  
  <p>For a few attempts, I tried to change</p>
  
  <p>this..</p>
  
  <pre><code>&lt;section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" /&gt;
  </code></pre>
  
  <p>to this..</p>
  
  <pre><code>&lt;section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Allow" /&gt;
  </code></pre>
  
  <h2>Results</h2>
  
  <p>When trying to access "in inetmgr Modules worked!"</p>
  
  <p><strong>However</strong> RavenDB Studio does not work.
  The following image:</p>
  
  <p><img src="https://i.stack.imgur.com/loVG9.png" alt="Error RavenDB Studio"></p>
  
  <hr>
  
  <pre><code>Config Error
     This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".  
  
  Config File
     \\?\C:\Users\Riderman\RavenDB-Build-960\Web\web.config 
  </code></pre>