简体   繁体   中英

Web Site Administration Tool

I am trying to follow a tutorial on creating a log in system and adding users in asp.net and i cant seem to work out how to use the apparently outdfated or expired Web Site Administration Tool. is there a new equivalent tool i can use or is there some way to get it to work as i cant seem to get it working using the command prompt.

I have tried entering this into the command prompt which works fine in order to rune iisexpress:

"C:\Program Files\IIS Express\iisexpress.exe" /path:c:\windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles /vpath:"/asp.netwebadminfiles" /port:8089 /clr:4.0 /ntlm

I then enter the following into my browser:

http://localhost:8089/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=[Exact_Project_Path]\&applicationUrl=/

Where the project path is set to my project path but get the following error:

System.ArgumentException: The parameter 'PhysicalDirectory' is invalid. Parameter name: PhysicalDirectory at System.Web.Configuration.VirtualDirectoryMapping.set_PhysicalDirectory(String value) at System.Web.Configuration.VirtualDirectoryMapping..ctor(String physicalDirectory, Boolean isAppRoot) at System.Web.Administration.WebAdminPage.OpenWebConfiguration(String path, String appPhysPath, Boolean getWebConfigForSubDir) at System.Web.Administration.WebAdminPage.VerifyAppValid()

This to me seems to be that the path i enter is invalid but i have tried every different entry surrouding my solution.

Is there a new or better answer to creating a log in system with asp without all this fuss?

Very new to all this so please take it easy.

Take a look through https://www.asp.net/identity , and in particular the Introduction to ASP.NET Identity post, which gives an overview of the older ASP.NET Membership and the newer ASP.NET Identity. Identity is supposed to be a lot easier to integrate into your app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM