I am trying to set up a local gallery on Windows Server 2008 R2 but I don't succeed.
I follow this tutorial : https://github.com/NuGet/NuGetGallery/wiki/Hosting-the-NuGet-Gallery-Locally-in-IIS
I insalled IIS recommended configuation (and more) and IIS URL Rewrite Engine.
I build the solution with the powershell script.
I created the new website in IIS (pointing to the Website folder) with the good settings (.net framework 4 and integrated pipeline) for the AppPool.
I grant the permission to the pool to access the db.
But when I browse to the homepage :
403 - Forbidden: Access is denied.
You do not have permission to view this directory or page using the credentials that you supplied.
I did exactly the same manipulations on my Windows 7 and it works fine. Do you have any idea of what is happening to me and how I can fix that ?
Thank you ^^.
I've had a similar issue when trying to set up our feeds, have you tried granting IIS_IUSR read access to the website directory?
Hope that will fix your issue.
Yes I tried. I even tried to grant to "Everyone" full access. It didn't change anything.
Another pieces of information that could be relevant : the server is in a domain and behind a proxy.
Anyway, thanks for your help ^^.
Actually, I tried to grant access to IUSR and machine_name\IIS_IUSRS. And to finished, I also tried with Everyone.
Okay, I found it. I couldn't compile the solution because of some tools wasn't installed on the server. So I compiled it on my computer and deploy it on the server.
If I compile it on the server, it works better.
Sorry for that ...