Invoke the ASP.net web site Configuration tool in the absence of the VS development environment __.net

Source: Internet
Author: User

ASP.net 2.0 provides a Web Site administration tool for configuring security and application settings, especially for user authentication and authorization management. But Microsoft's official documentation explains that this management tool can only be invoked in the development environment of Visual Studio (Visual Web Developer).

Imagine if the use of ASP.net user and role management, to the customer when the configuration system, if the database all empty, and the server can not install the development environment, I am afraid that even write two pages to create the initial user and role. A few days ago I met this embarrassing thing, had to use a database copy make up.

After coming back after a search, finally found a solution.

In fact, the. NET Framework 2.0 has been installed, and the file for this management tool has been installed in one piece, right in the c:/windows/microsoft.net/framework/v2.0.50727/asp.netwebadminfiles/. Create a virtual directory for him in IIS, such as WebAdmin, and remember to set the ASP.net version to 2.0.xxxx in the properties of the virtual directory.

Then it can be called like this URL:

http://localhost/webadmin/default.aspx?applicationphysicalpath=d:/work/ezlearning/ezlearning/& Applicationurl=/ezlearning

Applicationplysicalpath is the physical location of the application to be set, and Applicaionurl is the virtual directory.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.