The reason why ASP files can't be opened

Source: Internet
Author: User

Q: installation of IIS, how ASP files can not open

I'm not connected to the Internet for the time being. I have IIS installed, but the ASP files on the local machine are not open. Prompts to select the program, but lack of ie. Open IE, file "Open the way also can not open."
Add: I am 2000Server, has been Ann IIS, but open the ASP file, prompted to select the program, but there is no IE options. Open with Notepad is code.

For:

You install IIS, you can only build an account in IIS, browse the Web site (limited to asp,aspx), if you click on the file to open, it means that you want to use the editing software to edit the file, you do not have to install web-made software, the system will prompt you to select the program, You can choose Notepad, if you understand the code, you can use Notepad to open and edit. The ASP file is different from the HTML file and cannot be browsed directly by the browser. So you have to create a new site on IIS, and then click to browse to see the page, to modify the content of the page will have to use the DW and other web editing software to modify, with Notepad, as long as you know it.

Ask:

Originally a static web site, instead of a Dynamic Web site (ASP), the default path for IIS has changed. However, the ASP file can not browse. If you can't find the answers in your search, try this.

For:

Re-register IIS, command: Aspnet_regiiis-i. Look, why do you do this? Because IIS and the. NET Framework installation are sequential. [Concrete action: After running the type cmd, then go to C disk, type the CD C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322, the last type Aspnet_regiis-i

Try it, it should be no problem.

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.