Configuring a virtual directory on IIS7

I am setting up our server so that we can install the ASP.Net web application on it.

I right-click the sites in IIS7 Manager and select Add Virtual Directory, and I clicked the Test Settings button, this message is displayed:

The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that <domain>\<computer_name>$ has Read access to the physical path. Then test these settings again. 

The message does not say how to do this.

On the server I'm configured on, Windows7 Home Premium is installed. The computer is configured with all installed by default and has a computer name such as MyComputer-PC (and not its real name). Domain not configured.

Can you tell us how to do what is described in the message?

+4
source share
3 answers

1) Go to IIS, click on the IIS entry containing your virtual directory. Right-click on Basic Setting to see which one is using the appliatino pool.

2) Go to IIS, go to application pools. Right-click on the application pool and check the transition settings โ†’ Identity Property to find out which user it is using.

3) Navigate to the folder that includes the IIS input card, make sure that the user is added to this directory. If you want to give him permission to write, let him write. Otherwise, make let it read and execute in order.

+5
source

The message is pretty clear on what needs to be done. Go to the IIS Application Pool section and open the advanced default application pool settings. Verify the username specified in the Identity property.

Go to the place where you physically store your virtual directory and go to the folder properties โ†’ Security. Verify that the user has appropriate access.

+1
source

In principle, you can ignore this message if you do not plan to write files to the directory of your site.

This message means that IIS cannot verify that the system account has sufficient permissions in your siteโ€™s folder.

0
source

Source: https://habr.com/ru/post/1443011/


All Articles