Last Updated: September 29, 2021
·
51.04K
· jsigman

ASP.NET Web Site Administration Tool for Visual Studio 2017

In order to manage the security roles and access permissions for a new website project do the following:
1. Determine the port # that the project uses for IISExpress. Located in Properties \ Web of the project. Example: 54442
2. Open a command prompt and change directories: CD C:\Program Files (x86)\IIS Express
3. Execute the following command <be sure to replace the port with your port>
iisexpress.exe /path:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles" /vpath:"/WebAdmin" /port:54442 /clr:4.0 /ntlm
4. Minimize the command window
5. Open Internet Explorer (not Edge or another browser otherwise authentication will not work)
6. Enter the following URL: (replace the port with your port and use the path to your project)
http://localhost:54442/WebAdmin/default.aspx?applicationPhysicalPath=C:\Users\joesmith\Documents\Visual Studio 2017\Projects\MyCoolWebsite&applicationUrl=/AppAdmin

7. Enter your windows username and password to login to the Web Site Administration Tool
8. Click on the Security link and then use the wizard to setup a new user (or proceed however you like)