Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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
Closed

Impossible setting up gallery on Windows Server 2008 #479

FHanji opened this issue Apr 11, 2012 · 4 comments

Comments

@FHanji
Copy link

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
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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 as completed Apr 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants