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 529841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:08:01+00:00 2026-05-13T09:08:01+00:00

It seems the world is awash with people having problems deploying RIA WCF services,

  • 0

It seems the world is awash with people having problems deploying RIA WCF services, and now I’m one too. I’ve already tried a bunch of things, but to no avail. I need WCF RIA to support a Silverlight 3 application I’ve built.

The short story is, using the new WCF RIA services (Nov 09?) I open VS 2008, create new project (silverlight application), enabling “.NET RIA services”. Add new item to web project – Linq2SQL dbml file (from SQL 2005 DB prepared earlier) and compile. I add a new item to the web project – domain service (link the tables I need) and compiled. Using the domain context I “Load” data with a standard RIA get query in the MainPage and add a TextBlock to display returned data. Build & run (cassini) – success. Using VS to publish to IIS on local PC – success.

Using VS to publish to test server (IIS6) – browse to location and the Silverlight app loads but Fiddler tells me I’ve got a 404 on all the the WCF .svc requests. Use Fiddler to “launch IE” on the service request and it’s true – 404.

I have already run aspnet_regiis, ServiceModelReg and added mime types for .xap, .xaml, .xbap and .svc. I have included the System.Web.Ria and System.Web.DomainServices DLL with copy local true.

I need help with either

a) a solution

b) an approach to find a solution

  • 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-13T09:08:02+00:00Added an answer on May 13, 2026 at 9:08 am

    I had some troubles with this also, although once I figured them out it’s relatively straight forward.

    First, run through http://timheuer.com/blog/archive/2009/12/10/tips-to-deploy-ria-services-troubleshoot.aspx (although it seems you have most of that covered off).

    Check that you have your DomainServiceModule in the web.config in the new system.webServer bit and the old bit for IIS6:

        <httpModules>
       <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
       <add name="DomainServiceModule" type="System.Web.Ria.Services.DomainServiceHttpModule, System.Web.Ria, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      </httpModules>
    

    Finally, I had to create my services manually, by creating .svc files where SL is looking for them (from fiddler) and filling them in with:

    <%@ ServiceHost Service="NameOfSerice" Factory="System.Web.Ria.DomainServiceHostFactoryEx" %>
    

    Make sure that you also visit the .svc file directly (without the /binary on the end) as you can get some nice errors there (well once you solve your 404 of course!)

    HTH,

    Jordan.

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

Sidebar

Related Questions

This seems like the simplest thing in the world and I'm ready to pull
This seems like the most basic thing in the world, but I don't know
I'm new to git, coming from SVN world. So far, it seems a lot
Everybody in Django world seems to hate threadlocals( http://code.djangoproject.com/ticket/4280 , http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser ). I read
I am new to iOS world. What it seems to me if i buy
Enter, Apache Maven : Like many things in the software world, Maven seems to
There seems to be a frequent trend in the growing open source world to
I'm just realized that it seems to have two mutex 'world' in Boost. definition
I am new to VIM, and I come from Eclipse/VS world. It seems that
The java xml ecosystem seems awash in current implementations, API definitions and libraries all

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.