ispiro
ispiro

Reputation: 27713

What am I supposed to type as user name and password for localhost in IIS Manager?

I'm trying to connect to default web site on localhost – but IIS asks me for credentials (I know I can use an Administrator account, but I'm trying to log on when IIS is not run as an Administrator). I tried putting in the administrator user name and password for windows, but it doesn't accept them.

I'm using windows 7 home premium.

What should I enter?

Upvotes: 0

Views: 4505

Answers (2)

BlackSpy
BlackSpy

Reputation: 5603

ok - so anonymous is enabled. The next thing to check is that the identity the website is running under has access to the website folder. Each site in IIS runs in an application pool, and each pool runs under a user account. So first find out what app pool you're running under. On the right hand side click on Advanced Properties and check the name of you application pool. Then close that window and double click on application pools above your website on the left. Click on the app pool your site is running under, and then click advanced properties on the right. In the dialog box that launches, under process model check the value of Identity. Then go check the permissions on your website folder and make sure that identity has a minimum of read and execute rights on the folder.

Added another answer as the text above exceeds the comment limit

Upvotes: 1

BlackSpy
BlackSpy

Reputation: 5603

If you're trying to set your identity for a site to run under then you either need to run it as the local system account or you need to create a new user account on the machine and use those credentials.

Upvotes: 1

Related Questions