Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4621130
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:39:23+00:00 2026-05-22T02:39:23+00:00

I just set up a simple WCF service on my dev environment, and so

  • 0

I just set up a simple WCF service on my dev environment, and so far the endpoints are working OK, for both SOAP and JSONP requests.

I’ve proceeded to deploy this solution to a staging server hosted on IIS 5.1 (old, I know, but bear with me), and the .svc files suddenly aren’t working anymore. Not that IIS can’t find them, but rather they’re getting served as plain text files.

This is basically what shows up on my browser when I pop in an .svc file:

<%@ ServiceHost Language="C#" Debug="true" Service="service.myservice" CodeBehind="myservice.svc.cs" %>

Now I’ve tried all the solutions I’ve seen around SO and other sites (including reinstalling the ASP.NET binds on IIS using aspnet_regiis and reinstating the WCF ISAPI handles using servicemodelreg.exe), but none of them work.

One quirk that may be of note is that the IIS 5.1 is serving off port 8000, because Apache is currently running on the default 80. Could this be a culprit? I’ve tried running servicemodelreg -s:myservice to try to hit my app path squarely, but it tells me that there’s no such application on IIS:/localhost/myservice (maybe because it’s supposed to be on IIS:/localhost:8000/myservice? I’m not sure.)

I’ve verified that I’ve got a functional .NET 3.5 framework down, the .aspx files are served OK. It’s just the .svc files that aren’t getting served properly.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:39:24+00:00Added an answer on May 22, 2026 at 2:39 am

    If servicemodelreg hasn’t worked, check that the .svc is set up with an ISAPI mapping.

    Go to the Home Directory tab on the properties of your web site, select Configuration…

    If .svc isn’t present in the list, set it up with the following parameters:

    • Executable: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
    • Extension: .svc
    • Limit to: GET,HEAD,POST,DEBUG
    • Script engine: Ticked
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've set up a simple, single-service server which has been working just fine with
I have a quite simple WCF service method which returns an IQueryable, just for
I just started with the WCF REST Starter Kit. I created a simple service
I am trying the simple senario of running a WCF service to return Active
Does anyone know a very simple physics engine, or just a set of basic
I am trying to do simple thing: I just need to set some cells
I just set up my new homepage at http://ritter.vg . I'm using jQuery, but
I have just set up cruise control.net on our build server, and I am
I've just set up a new build server with the Windows 2008 .NET 3.5
I've just set up mod python with apache and I'm trying to get a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.