<p>I just got a dedicated server from a hosting company, and for some reason, it didn't have IIS installed.
It did have .Net 2.0, though.</p>

<p>So I installed IIS, but now my ASP.net websites won't work.
I just get a 404, no event log entries, nothing...</p>

<p>I noticed in the redistributable package information that:
"To access the features of ASP.NET, IIS with the latest security updates must be installed prior to installing the .NET Framework"</p>

<p>I also can't uninstall .Net, it just won't let me...</p>

<p>Is there a way to reinstall .Net 2.0, or somehow do whatever it is it does to IIS to make it work?</p>

<p>Thanks!
Daniel</p>

run from the command line
```
```
aspnet_regiis -i
```
```
You may have to navigate to the folder it was installed.
Mine and the default is
```
```
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
```
```