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

  • Home
  • SEARCH
  • 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 6582169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:14:49+00:00 2026-05-25T16:14:49+00:00

I created a wcf Rest service using net framework 4 and IIS 6. I

  • 0

I created a wcf Rest service using net framework 4 and IIS 6. I use route table in global asa .
It’s working fine in my computer . When I
Install it in Qa the service is not working.

When requesting the service I receive 404
error.

The problem is that ISAPI filter of IIS cannot map between the request and the code.

Created separate pool for IIS application.
Please advice.

Web config

<configuration>
  <system.web>
    <compilation debug="true" targetFramework="4.0" />
    <trust level="Full" originUrl="" />
  </system.web>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true">
      <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </modules>
  </system.webServer>
  <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
    <standardEndpoints>
      <webHttpEndpoint>
        <standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true"/>
      </webHttpEndpoint>
    </standardEndpoints>
  </system.serviceModel>
</configuration>

Global.asa

 void Application_Start(object sender, EventArgs e)
        {
          RegisterRoutes();

        }

        private void RegisterRoutes()
        {
            WebServiceHostFactory factory = new WebServiceHostFactory();
            RouteTable.Routes.Add(new ServiceRoute("Data", factory, typeof(DataHandler)));
            RouteTable.Routes.Add(new ServiceRoute("UserData", factory, typeof(UserData)));
            RouteTable.Routes.Add(new ServiceRoute("SetupData", factory, typeof(SetupData)));

        }
  • 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-25T16:14:50+00:00Added an answer on May 25, 2026 at 4:14 pm

    If you’re going to use routing with IIS 6, there’s some special considerations that need to be made for routing. Here is an article that walks through them. If you haven’t taken care of these things, you’re going to get 404s when you try to use your routes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a new wcf rest service using .net 4. I have created a
I created a WCF REST (aka WebHttp) service in .NET 4, using Microsoft's WCF
I have created a REST service using WCF for communicating with BLL/DAL from UI.
I have a WCF rest service. I created it using 4.0 rest service application,
Created .NET WCF service, tested it - works. Generated schemas from Data and service
I created a WCF service (.NET 3.5) that grabs data from a db and
I’ve just created a WCF service/client and it all works fine when running on
I've created a Wcf Service to back a Ajax page (.Net 3.5). It's hosted
I am new to WCF and created a simple REST service to accept an
I'm interested in properly handling Faults within a WCF REST Service client. While using

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.