WCF Service on Win 2008 VPS

Discussion in 'Microsoft Development' started by spiderrun, Jan 18, 2011.

  1. spiderrun

    spiderrun Guppy

    We have created a WCF Web Service and are trying to host it on the new Win 2008 VPS. This is a .NET 3.5 solution and it runs fine on a Win Server 2008 box we have here in the office.

    When we try to view the service it returns a "404 not found - The requested document was not found on this server." which is a weird error since normally if an endpoint or web.config is not correctly configured you get the full stack trace page.

    The normal ASPX engine is working with our test page (http://bannisterlake.com/default.aspx)

    but the SVC won't render! (http://bannisterlake.com/LBVSDataService_V3.svc)

    We ensured:
    - WCF activation was installed as a feature (http activation under .NET 3.5SP1)
    - the svc-ISAPI-2.0-64 Handler Mapping is present and handling .svc
    - ran the %windir%\Microsoft.NET\Framework64\v3.0\WindowsCommunication Foundation\ServiceModelReg.exe –i to double ensure all WCF registration was done properly in IIS7

    We have this running on two other IIS7 setups and I've been trying for two weeks to get it running on Jodo. Up against a wall if anybody else has come across this I'm open to suggestions!
  2. Stephen

    Stephen US Operations Staff Member

    This is actually IIS 7.5, not sure if that makes any difference in your app but I had a friend tell me that his app works in IIS7 but croaks on 7.5 which was the first I'd heard of that.

    What about adding a wildcard mapping like you'd do with MVC? it may help.
  3. spiderrun

    spiderrun Guppy

    Thanks Steve, those are some good ideas.

    We checked our server here and we're running IIS 7.5 on our office Win 2008 server so we can rule that out since it's picking up the SVC fine.

    The wildcard mapping was a great idea, but no improvements. We checked directory and file security permissions as well but everything was standard.

    The server just doesn't want to route those SVC calls! ?(
  4. Stephen

    Stephen US Operations Staff Member

    You can put in a ticket and we will discuss it some there, and if needed can try a managed ticket.

Share This Page

JodoHost - 26,000 hosting end-users in 100 countries
Plesk Web Hosting
VPS Hosting
H-Sphere Web Hosting
Other Services