Why is the ASP file not open?

Source: Internet
Author: User

Q: IIS installed, how ASP files cannot be opened

I'm not connected to the Internet for the time being. I have IIS installed, but the ASP file on the local machine is not open. Tip To select a program, but no IE is missing. Open IE, with the file opened the way also can not open.

Add: My is 2000Server, has been IIS, but open the ASP file, the prompt to select the program, but there is no option for IE. Opening in Notepad is all code.

A: You install IIS can only build an account in IIS, browse the way to browse the site (only 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 install the Web-based software, you will be prompted to select the program, You can choose Notepad, and if you know the code, you can open it with Notepad and edit it. ASP files are different from HTML files and cannot be browsed directly by the browser. So you have to create a new site on IIS, and then click Browse to see the Web page, to modify the content of the page you have to use DW and other web editing software to modify, with Notepad also line, as long as you know it.

Q: Originally a static site, changed to a Dynamic Web site (ASP), the default path for IIS has changed. However, the ASP file can not be browsed. You can not solve the search and browse to find the answer to the situation, try this

A: Re-register IIS, command: aspnet_regiiis-i. Note, why this? because IIS and. NET Framework installations are sequential. [Action: After you run the type cmd, then go to the C drive, type cd c:windowsmicrosoft.netframeworkv1.1.4322, and then type Aspnet_regiis-i

Try it, there should be no problem.

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.