Solution for IIS failure to access the aspx File

Source: Internet
Author: User

Environment:
Windows 2003 server
IIS V6.0
. Net Framework v2.0.50727
 
Status:
The. html and. asp files can be accessed normally in the browser, but cannot be accessed after being replaced by. aspx.
404 error reported (file cannot be found)
 
Cause Analysis and Solution
1. Go to WINDOWS \ Microsoft. NET \ Framework and find that the following versions are installed in. net Framework.
V1.0.3705
V1.1.4322
V2.0.50727
V4.0.30319
2. on the IIS console, right-click the website and enter ASP. NET. The version of ASP. NET is displayed.
In theory, we can work. Is it because of Version 4.0.
 
Re-register 2.0
Enter command line mode
[Vb] view plaincopy
Cd c: \ windows
Cd microsoft.net
Cd fra *
Cd v2 *
Aspnet_regiis-I-enable
 
Wait a moment and a prompt is displayed after the installation is complete.
Start installing ASP. NET (2.0.50727 ).
.............................
Finished installing ASP. NET (2.0.50727 ).
 
Go to the aspx page again. The operation is normal...

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.