Here’s a quick guide found. Hope it helps you out.
Install IIS 7 on Windows Vista and Windows 7
This could work depending on the type of page you were testing:
Go to %windir%\\Microsoft.NET\\Framework\\v3.0\\Windows Communication Foundation\\
and execute this command:
ServiceModelReg.exe -r –y
Restart your IIS and try again.