ASP Pages in IIS Using Localhost 401.3 Error Does Not Resolve

I just installed IIS so that I can view asp files in the browser, but when I put the address in the browser as: http: //localhost/index.asp I get an error.

The error shows the following:

HTTP Error 401.3 - Unauthorized You do not have permission to view this directory or page due to configuration of an access control list (ACL) or encryption settings for this resource on a web server.

I really need to figure it out, I would really appreciate any advice on this.

+57
iis asp-classic
Nov 22 '11 at 19:55
source share
6 answers

OK, working from memory here, as I am not in front of a Windows machine.

If you right-click on the webroot / inetpub / wwwroot / folder or the directory of the website where you are working on the public properties and select security, I think this is the case, you will see a list of users with their permissions for this folder. There is a section for adding new users, where you can add the IIS_IUSRS account (search from the list of users, if necessary), which will be the default user used for anonymous authentication. Grant this account the appropriate permissions (read, write, and execute) to apply to files and subfolders. Refresh your website in IIS and hopefully you will be fine.

+76
Nov 22 '11 at 21:30
source share

My problem was around the identifier used in the application pool. I changed the site authentication to "Application Pool Identifier", and also granted the directory the appropriate permissions.

enter image description here

+79
Mar 07 '14 at 13:52
source share

I did not have one folder that does not work (extracted from a zip file that comes from email from some MS Sharepointy thing or something else). All files were marked with Windows Explorer β†’ Right-click β†’ Properties β†’ Advanced β†’ Encrypt contents to protect data. Unticking cured him.

+3
Apr 28 '15 at 12:47
source share

It happened to me with me, and I needed to add the web.config file. It doesn't matter that this is just a PHP site, and that β€œeveryone” has full control. Until the basic Web.config - NO DICE!

 <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <handlers accessPolicy="Read, Execute, Script" /> <defaultDocument> <files> <clear /> <add value="index.php" /> <add value="Default.htm" /> <add value="Default.asp" /> <add value="index.htm" /> <add value="default.aspx" /> </files> </defaultDocument> <directoryBrowse enabled="false" /> </system.webServer> </configuration> 
0
Jan 25 '13 at 17:59
source share

In my case, I created the application in IIS 7 on Windows 7 using the "Add Application" on the default website. I had to add the users account from the local machine and get rid of the permission error.

0
Mar 21 '17 at 0:41
source share

The setup process is described in detail here. You can follow the steps.

http://coldfusion-tip.blogspot.com/2013/10/you-do-not-have-permission-to-view-this.html

-four
Oct 29 '13 at 18:51
source share



All Articles