title: Network Nuget Server is returning 404 on the url ending with /nuget/$metadata
body: <p>I am trying to setup an internal Nuget Server for our company. I know this topic has been discussed thoroughly and I've read a ton of the discussions. I believe I have things almost working except that I'm getting a 404 when putting the Nuget Server's network URL as a source option for Nuget in VS Nuget Package Manage Settings. From watching Fiddler traces, it appears the 404 is being generated by the URL below. This is preceded by the same URL with a 401 challenge. The IIS log shows that I'm authenticated into the site (I've disabled anonymous access and have only allowed Windows authentication.)</p>
  
  <p><a href="https://network-server/MyNugetFeed/nuget/" rel="nofollow noreferrer">https://network-server/MyNugetFeed/nuget/</a>$metadata</p>
  
  <p>I'm setting this up on Windows 2012 R2 and IIS 8.5 using the .Net 4.0 framework. The site has it's own application pool and it's set to run as "Integrated" instead of classic (this seemed to be a common thing that fixed 404's for a lot of people, but not me).</p>
  
  <p>I've checked elmah.axd (locally on the server as it returns 403 when viewed remotely) and there aren't any errors in the log.</p>
  
  <p>I followed this guide to create the Nuget Server project:</p>
  
  <p><a href="http://docs.nuget.org/create/hosting-your-own-nuget-feeds#step-1:-create-a-new-empty-web-application-in-visual-studio" rel="nofollow noreferrer">http://docs.nuget.org/create/hosting-your-own-nuget-feeds#step-1:-create-a-new-empty-web-application-in-visual-studio</a></p>
  
  <p>Here are just some of the things I've reviewed:</p>
  
  <p><a href="https://stackoverflow.com/questions/7800832/404-when-listing-packages-via-nugetcommandline">404 when listing packages via NugetCommandLine</a></p>
  
  <p><a href="https://stackoverflow.com/questions/7276420/nuget-server-returning-403s-and-404s?rq=1">Nuget Server returning 403&#39;s and 404&#39;s</a></p>
  
  <p><a href="https://stackoverflow.com/questions/9275112/installing-private-feed-nuget-packages-from-packages-config?rq=1">Installing private feed Nuget packages from packages.config</a></p>
  
  <p><a href="https://stackoverflow.com/questions/10716156/unable-to-download-packages-from-a-self-hosted-nuget-server-404-error?rq=1">Unable to download packages from a self hosted nuget server (404 error)</a></p>
  
  <p><a href="https://stackoverflow.com/questions/17452398/hosting-nuget-gallery-locally-via-localhost-cannot-access-its-feed-from-visual">Hosting Nuget Gallery locally via localhost, cannot access its feed from Visual Studio Library Package Manager - returns 404 Not Found</a></p>
  
  <p><a href="https://stackoverflow.com/questions/7407799/nuget-installing-individual-packages-reporting-the-remote-server-returned-an?rq=1">NuGet - Installing Individual Packages reporting &quot;The remote server returned an error: (404) Not Found.&quot;</a></p>
  
  <p><a href="https://stackoverflow.com/questions/10756944/404-on-nuget-packages-link">404 on nuget packages link</a></p>
  
  <p><a href="http://forums.asp.net/t/1800305.aspx" rel="nofollow noreferrer">http://forums.asp.net/t/1800305.aspx</a></p>