Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Impossible setting up gallery on Windows Server 2008 #479

Closed
FHanji opened this Issue Apr 11, 2012 · 4 comments

Comments

Projects
None yet
2 participants

FHanji commented Apr 11, 2012

Hello,

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 ^^.

kl4w commented Apr 11, 2012

Hi,

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.

FHanji commented Apr 11, 2012

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 ^^.

FHanji commented Apr 11, 2012

Actually, I tried to grant access to IUSR and machine_name\IIS_IUSRS. And to finished, I also tried with Everyone.

FHanji commented Apr 12, 2012

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 ...

@FHanji FHanji closed this Apr 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment