# How do I fix a messed up IIS 6 install?

Setup: Windows Server 2003 IIS 6

The server dumps out the contents of the FrontPage Server Extensions DLL instead of doing anything useful whenever I do anything related to Server Extensions.

Are there any ways to fix this, short of completely reinstalling the operating system?

Just in case I wasn't clear, this is what I get in the browser:

MZÿÿ¸@àº´ Í!¸LÍ!This program cannot be run in DOS mode. $o•DY+ô* +ô* +ô* +ô+$ô* Ãë. (ô* Ãë .ô* Ûë! )ô* .Ö ô +ô* \$ô* Rich+ô* PELNbéCà! 0a (and it goes on...)

-

Here is an old KB article that describes a similar situation - perhaps the same fix will work for IIS6.

-

If you're close to an OS reinstall, I'd definitely remove IIS, clear out \inetpub & \system32\inetsrv etc, reboot, & reinstall first. Just for kicks.

Also, this is a pretty solid IIS6 troubleshooting page - because if you're like me, anything you manage to hose once, you'll hose again in a similar way. ;)

-

Looks like wiping the OS is the most time effective solution in case you haven't spent much work setting up up until now - it should take about an hour and you won't have to attend it most of the time.

-