Build a WEB server in Windows Server 2012, with ASP configuration method

Open Server Manager in Windows Server 2012, select and click "Add Roles and Functions" in the dashboard interface, and the wizard for adding roles will appear.
insert image description here

Follow the wizard for adding roles, in the "Server Role" step, check "WEB Server IIS" in the role column, and click "Add Function" in the dialog box in the pop-up Add Role and Function Wizard
insert image description here

If you need your WEB server website to have the same verification login mode as Windows account, you can check "Windows Authentication", and you can skip it if you don't need this function.
insert image description here

When it comes to the "Confirm" step, you can click "Install" to start the installation of the role function
insert image description here

It will take a while for the installation to begin. After the installation is complete, click "Close" to complete the installation.
insert image description here

Next, test whether the server is set up successfully. You can open the browser, enter the IP address of the machine, and see the interface below. Indicates that the installation was successful.

When installing IIS, if you need your website to support ASP, CGI, etc., you need to select the corresponding role function in "Server Role". For example: to support ASP, you need to check the relevant functions.
insert image description here
insert image description here

After the IIS test is successful, but the ASP web page test is not successful, you need to make some settings as follows.

In the server manager interface, click "Tools" - "Internet Information Services (IIS) Manager" on the menu, open the IIS manager, enter the home page of the website you need to set, and click "Edit Permissions" on the right hand side, Open the "Security" tab in wwwroot properties, add the Everyone user permission, and set full control.

Perform the permissions of the C:\windows\temp folder, and add everyone full control permissions to the folder. The reason for adding this permission is that access may be denied when accessing the accesss database, and data cannot be read. Adding this permission can solve this problem .
insert image description here

Enter the main page of the IIS server, double-click ASP to open the debugging properties, change "Enable parent path" to TRUE, and click Apply in the upper right corner to make it take effect.
insert image description here

Go to the main page of the website, double-click "Directory Browsing" and enable it. This way your website can support ASP.
insert image description here

Guess you like

Origin blog.csdn.net/qq_37194189/article/details/125095910