title: Nancy Razor Viewengine not found
body: <p>I'm using Nancy 0.14.1.0 with a Razor view. Things are going fine as long as I work with the internal webserver in VS 2010. Now I did deploy the stuff to my webserver running IIS 6. The route is</p>
  
  <pre><code>       Get["/api/v1/admin/clients"] = parameters =&gt; {
              return View["Admin/view", new DataAccessLayer(Context).admin_get_clients()];
          };
  </code></pre>
  
  <p>which returns a List of clients (doesn't matter here).</p>
  
  <p>The directory structure on the server is</p>
  
  <pre>
  bin
  Content
  Shared
     |--- _Layout.cshtml
  Views
     |--- Admin
           |--- view.cshtml
  </pre>
  
  <p>The exception I catch is</p>
  
  <pre>
  Nancy.ViewEngines.ViewNotFoundException: Unable to locate view 'Admin/view' Currently available view engine extensions: sshtml,html,htm Locations inspected: ,,,,views/api/Admin/view,api/Admin/view,views/Admin/view,Admin/view Root path: C:\Inetpub\Websites\Test\api\ 
  </pre>
  
  <p>What concerns me a bit is the "available view engine extensions" entry: I'm missing cshtml here... although I guess my web.config contains the right entry:</p>
  
  <pre><code>&lt;compilation debug="true" targetFramework="4.0"&gt;
    &lt;buildProviders&gt;
      &lt;add extension=".cshtml" type="Nancy.ViewEngines.Razor.BuildProviders.NancyCSharpRazorBuildProvider, Nancy.ViewEngines.Razor.BuildProviders" /&gt;
      &lt;add extension=".vbhtml" type="Nancy.ViewEngines.Razor.BuildProviders.NancyVisualBasicRazorBuildProvider, Nancy.ViewEngines.Razor.BuildProviders" /&gt;
    &lt;/buildProviders&gt;
  
  
  &lt;/compilation&gt;
  </code></pre>
  
  <p>The Nancy Module behind works fine: I have added the route</p>
  
  <pre><code>        Get["/api/v1/admin/clients/{id}"] = parameters =&gt; {
              return "Hello";
          };
  </code></pre>
  
  <p>and get the "Hello"...</p>
  
  <p>Any hints?</p>