[Install IIS first and then install. Net] how to configure Server IIS to support aspx
1. register the Asp.net component first: (ASP. NET Component:. NET Framework)
Start-> Run-> cmd-> execute the command:
C:/Windows/Microsoft. NET/framework/v2.0.50727/aspnet_regiis.exe-I (Your. NET Component location)
[The above address is the default location for. netframework Automatic Installation ~ ]
Ii. Enable ASP. net service in Web Service extension:
IIS-> Local Computer-> Web Service extension-> Asp. Net v2.0.5072: Allow
[If this address is not found, it may be that you did not install service extensions when installing IIS! Go to the "win" component to check IIS]
3. Create a virtual directory in IIS
IIS-> Local Computer-> website-> default website, right-click-> Create "virtual directory"-> get a name-> browse the directory of your Aspx file, OK
4. Click the new virtual directory-> On the right side, right-click the aspx file-> browse