Wednesday, August 27, 2008

On The Dark Side

I'm not administrator, but sometimes I just have to.
So here is a solution for very ugly problem.

WCF hosted by IIS 6 on Windows Server 2003 don't work, even after installing / reinstalling.
The problem is solved by:

1.Go to Run. type 'inetmgr'. this will open a Internet Information Services.

2.Under websites. go to default web site and select properties.

3.Under Home Directory Tab,Select Configuration, which will show you the Application Configuration.

4.Under Application Configuration,Under Mappings Tab,please check wether you can see an extension with '.svc'.

5. if it is not there please add an extension named as .svc and with the Executable in %WIN%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll

6.reset your IIS by typing 'iisreset' in the run menu.

7. Run your application again.

This is copy from unknown web Hero :)
Thank you Pratap.BVNP :)