I am trying to get a WCF service working in Umbraco but am unable to get the svc file to function. It just returns a "HTTP 404 Webpage cannot be found.
I know the service is working correctly as I got it set up and tested before moving it over. Also I have another ASPX file in the same directory that works fine. I have the directory they are located in set in theumbracoReservedPaths in the web.config.
Does anyone know why the aspx file works fine but the svc file returns a 404 error. Any help would be greatly appreciated.
I assume when you say "moving it over" you mean to the live server? This is an IIS config thing - it needs to know the ASAPI extension to use to serve .svc files.
WCF in Umbraco
I am trying to get a WCF service working in Umbraco but am unable to get the svc file to function. It just returns a "HTTP 404 Webpage cannot be found.
I know the service is working correctly as I got it set up and tested before moving it over. Also I have another ASPX file in the same directory that works fine. I have the directory they are located in set in theumbracoReservedPaths in the web.config.
Does anyone know why the aspx file works fine but the svc file returns a 404 error. Any help would be greatly appreciated.
Hi Brandon,
I assume when you say "moving it over" you mean to the live server? This is an IIS config thing - it needs to know the ASAPI extension to use to serve .svc files.
Here are instructions for doing this in IIS6: http://weblogs.asp.net/pabloperalta/archive/2008/09/26/quot-http-error-404-file-or-directory-not-found-quot-deploying-wcf-service.aspx ... or you can Google for many more options ;)
Lesley
Hi Brandon,
Did you resolved this, I have exactly the same problem and I tried everything ?
is working on a reply...