Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Brandon 4 posts 24 karma points
    May 03, 2011 @ 23:10
    Brandon
    0

    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.

  • Lesley 284 posts 143 karma points
    May 03, 2011 @ 23:56
    Lesley
    0

    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

  • Ivan Saric 40 posts 89 karma points
    Jan 27, 2014 @ 15:24
    Ivan Saric
    0

    Hi Brandon,

    Did you resolved this, I have exactly the same problem and I tried everything ?

Please Sign in or register to post replies

Write your reply to:

Draft