WCF SVC – Page not found (Under Windows 2003 IIS 6)

I’ve a 64bit machine that has a web-service hosted under IIS6!. This starts throwing out errors one morning as I browse to my .svc location – “Page not found 404 Error…”

Solution:

Check that the isapi.dll is pointing to v2.0C:\WINDOWS\microsoft.net\Framework\v2.0.50727\It appears that an overnight .NET 4 installation was pushed out and IIS 6 extensions were mapped to .NET v4. To resolve this, I manually changed the .svc extension in IIS 6 to v2.0+.Screen shot of my machine (under IIS –> Default Web Site –> MySite.WCF) before I made the changeAfter the change:
Now pointing to : C:\WINDOWS\microsoft.net\Framework\v2.0.50727\aspnet_isapi.dll
Make sure to restart IISOptional:

Make sure your IIS service account has access to the C:\windows\temp folder. Your WCF service generates temporary files behind the scene and skipping this might display errors such as: System.InvalidOperationException: Unable to generate a temporary class

From your command prompt run the following command aspnet_regiis.exe -i –enable