2012. 9. 17. 11:31
WCF 405 에러 발생시 대처방법 메모2012. 9. 17. 11:31
Normally, 405 error code is because two reasons;
1) ASP.NET is not installed or register to your IIS
2) The *.svc file type is not mapped to the aspnet_isapi.dll
to solve problem:
1. register ASP.NET runtime from VS.NET 2005/2008 command line run: aspnet_regiis –i –enable
2. map *.svc file by
2.1 Win2003 or XP run: "%WINDIR%\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r
2.2 Win2008 or Vista run: "%WINDIR%\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -L
3. then restart your IIS iisreset /noforce