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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T04:07:54+00:00 2026-05-21T04:07:54+00:00

This is the second time that I have this really weird problem with WCF

  • 0

This is the second time that I have this really weird problem with WCF RIA Services! the sad thing is that I had to solve the problem twice, going through the different hoops again :(, even though I’ve left a note to myself pointing to the solution 😛

Anyways, the “pretty useful” error message is the following:

…\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Ria.Client.targets(304,5): error : The code generator ‘Microsoft.ServiceModel.DomainServices.Tools.CSharpCodeDomClientCodeGenerator’ encountered a fatal exception and could not generate code for project “ProjectA”

  • 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-21T04:07:55+00:00Added an answer on May 21, 2026 at 4:07 am

    after toying around (for a while), I found the source of the “real problem” which was that, I was using some resource files (.resx) in the web application (host), and linked to them from my silverlight project (ProjectA). The issue was in the namespace of the generated resource classes. To solve this issue, I had to make sure that, for the original .resx files as well as the links, the following properties are set correctly:

    "Custom Tool" is set to PublicResXFileCodeGenerator
    "Custom Tool Namespace" is set to the same namespace ("ProjectA.Web.Resources" in my case)
    

    this obscure problem is hard to reproduce. once I solved it, trying to alter the properties didn’t bring it back :s

    anyways, the note I wrote myself helped me in this situation, that’s why I hope this note would help somebody else out there suffering from this issue (maybe that would be future me 😛 )

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

Sidebar

Related Questions

I have a kind of funny and weird requirement this time. I have my
I have a really confusing problem. I have a PHP script that polls another
I have a really weird problem with Xcode 3.2.5 In a normal code sequence
Hello, this is the second time that I ask a question about this:( I
I execute an ajax function that takes 3 seconds + so in this time
I have a really small app that I put together in VS 2008 Express
Problem background: I have a Qt/QML Symbian application targeting Qt 4.7.4, that requires a
This is a bit of a wierd problem. (.NET 3.5sp1) I have a UserControl
I have no doubt at all that my own idiocy is responsible for this.
This is a puzzle to me and I am really annoyed that I cannot

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.