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...