Running ASP files
First we need to match the running environment, the server running the ASP file is the IIS server, so we have to install and configure the IIS server, in fact, compared to other servers, IIS is much simpler, because it is a server with Windows, as long as the necessary components installed on the line.
After understanding, we will install IIS, first open the Control Panel (small series using the operating system is windows2003, many sites use it as the default server, so the small set in this as an example), find the Add or remove program options (as shown in the following figure Red line), and then click Enter.
Then we see the Add or Remove program interface, click Add Delete Windows Components, and then find the Application Server option, click Details, select all options, click OK.
Click OK will return to the upper interface, and then we click Next, the system will automatically install the option we just selected, the installation process is very fast, a moment can be completed, and finally click the Complete button. The IIS server is already installed successfully.
Once the installation is complete, we can configure the IIS server, double-click the IIS server, locate the Web site option, then right-click, select New option, and then click on the site to create a new site. When setting up a website, select the site root directory where we need to open the ASP file directory, the host header to be set to localhost, convenient for our local testing.
Then we can open the ASP file, in the browser input localhost/your ASP file name, and then click Enter can, below we will enjoy the results of our.
The above content is to tell you how to open the ASP file method, I hope to help you learn.