404.xx on WCF Service







I recently had to configure a brand new IIS, where it's hosted an application wich uses wcf services to provide informations.





This can be related to a missing in the Handler Mappings for *.svc entries.

To add the handler go to website home and choose Handler Mappings


Add Script map
 

Input these values


*.svc
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll
svc-ISAPI-4.0_32bit



Confitm the allow for ISAPI ext



Now do the same thing for these values (to enable 64bit execution as well)


*.svc
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll
svc-ISAPI-4.0_64bit


And now... refresh the page!

Commenti

Post più popolari