I am trying to set up IIS web services and ASP.NET services on Windows Server 2008 R2. The physical directory was created, but I cannot get it to work. This is a fresh IIS Role installation.
The server is on a domain, and domain\server$ has read/write/browse access to C:\inetpub\wwwroot
. Read/write/browse access is also granted to:
What I have tried so far
In the Edit Virtual Directory -> Connect As
dialog, select Application User (pass through authentication). When I press Test Settings, I get the above error.
In the Edit Virtual Directory -> Connect As
dialog, select Specific user: IUSR
(no password). When I press Test Settings, I get the following:
Other Notes
Anonymous Authentication is Enabled, and Anonymous user identity is Application pool identity.
The Application pool configuration looks like this:
In the web browser, http://localhost
returns an blank page but no error.
Any help would be appreciated.
Try to go back to the internet information services, right clink on the intranet you created and select edit permission.
When the wwwroot pop up windows open, select the sharing tab and click "share" on the drop down menu select the users and their permission level or just select everyone and for permission read and Right
I had this error because I hadn't installed ASP.NET through Server Roles and Features. Added that and it all worked as expected
Click on "Connect as" and select "specific user", then type in the credentials of your user (I used the admin of the server).
ACCESSING LOCAL WEBSITE WITH IIS without Physical Path Authentication
I hope it helps. That's what I did.
I have the same problem and the solution was uncheck the "use ports 80 and 443" on skype advanced configuration!
I had the same problem and couldn't figure it out for almost a day. I added IUSR and NetworkService to the folder permissions, I made sure it was running as NetworkService. I tried impersonation and even running as administrator (DO NOT DO THIS). Then someone recommended that I try running the page from inside the Windows 2008 R2 server and it pointed me to the Handler Mappings, which were all disabled.
I got it to work with this:
Now try refreshing your website.
I think the best solution to this problem can be found here: IIS_IUSRS and IUSR permissions in IIS8 This a good workaround but it does not work when you access the webserver over the Internet.
Source: Stackoverflow.com