среда, 17 марта 2010 г.

Hosting WCF in IIS 7.5: HTTP Error 404.17 - Not Found

Another quick entry. I’m hosting WCF service in IIS 7.5 (Windows 7 x32) and getting the following error:

HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler.

Found solution in this thread: it looks like the script maps for the .svc extension are not registered. To register the script maps run the following command:

%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe -i

Комментариев нет:

Отправить комментарий

Random thoughts, ideas and questions on .NET development

Постоянные читатели