Monday, February 16, 2009

Installing IIS 7.0 after installing VS 2008

If you have done the above, then you are not able to deploy WCF in the IIS. The solution is simple . Run the following command from Command Prompt:

%WINDIR%\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r

This command registers the required script maps in IIS.

This command must add .svc file mapping but it is better to make sure if it is mapped to aspnet_isapi.dll.

No comments:

Post a Comment