Click this link to see if you have the Microsoft .NET Framework installed on the system where you are clicking this link.
http://www.asp.net/webmatrix/CheckDotNet.aspx
If you have the .NET Framework installed, you should see a message “.NET Framework Installed”.
After you check this, you can create a test.aspx file containing one line:
<% Response.Write("Testing") %>
in your application folder (e.g., MyApp) and then access it through the browser to see if ASPX is correctly installed. To run this from the browser, enter:
http://localhost/MyApp/test.aspx
If you see the word “Testing”, then everything is set up properly. On the other hand, you might see the actual code from the file:
<% Response.Write("Testing") %>
In this case, your IIS server is not configured to run ASPX properly. Since the Microsoft .NET Framework is already installed, you may need to configure it properly.
Configuring the Microsoft .NET Framework
Deploying Applications to a Production Server