Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have installed IIS and .NET 4.0 on Windows Server 2003.

I have a web ready website that that targets .NET 4.0 and have updated the default website home directory to map to the website's directory.

When I visit the website in a web browser (localhost, localhost:80), I get a 404 error (File or directory not found).

Here is the IP address so you can see for yourself. http://72.45.244.92/

How do I get my ASP.NET 4.0 website to run?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

You need to install IIS before installing .NET 4.0. If IIS is installed after .NET 4.0, you need to use command prompt and run the aspnet_regiis tool located in the .net 4.0 directory.

share|improve this answer
add comment
  1. Did you install ASP.NET in the using the Add or Remove Programs dialog box on the Control Panel?
  2. In IIS Manager: did you allow the ASP.NET Web Service Extension?

See this Technet article about Installing ASP.NET (IIS 6.0).

share|improve this answer
1  
I had to allow the ASP.NET Web Service Extension. Thanks! –  Paul Knopf Dec 31 '10 at 17:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.