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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:10:51+00:00 2026-05-28T18:10:51+00:00

I have a project using WCF which was working fine, but I moved the

  • 0

I have a project using WCF which was working fine, but I moved the code to another machine and now it will not compile. I get errors for lines of code like this, where I instantiate a class and then call a service client:

FlooringReportingServiceClient.FlooringReportingServiceClient client = new FlooringReportingServiceClient.FlooringReportingServiceClient();
BusinessCollectionResponse<Store> storeCollectionResponse = client.GetStoreList((bool)Session["IsAdmin"]);

The errors will say

Cannot implicitly convert type ‘MyCompany.Presentation.FlooringReporting.FlooringReportingServiceClient.BusinessCollectionResponseOfRoleW6bohhDP’
to
‘MyCompany.Architecture.Framework.Common.BusinessCollectionResponse’

The string “OfRoleW6bohhDP” gets appended from who knows where.

I know that about a year ago I was talking with a guy at a party about WCF (I know, boring party) and he mentioned something about when random letters get appended to the end of a class name then you have to do “x” to fix it. But I cannot remember what that is, and I have not been able to find anything like this on the web. I am no expert at WCF, I am using someone else’s framework, so forgive me if this is a simple question.

  • 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-28T18:10:52+00:00Added an answer on May 28, 2026 at 6:10 pm

    It seems like types with similar names are getting mismatched. In the client application, do you have a reference to the library (project) that contains the WCF data contracts (parameters or return types of your WCF operations)?

    If you do, you may be mismatching the actual types and their proxies auto-generated while adding the service reference.

    While adding or updating (Configure Service Reference) the service reference, you can tell visual studio whether to reuse the types in the referenced libraries instead of generating new ones.

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

Sidebar

Related Questions

I have a simple WCF4 REST service which is working fine when using a
I have created WCF service in project. Now using Jquery I am successfully able
We have a project using FluentNibernate to map the entities. Now I need to
I have deploy my project using project:deploy --go. Now i have my folders apps,
I have a VS2010 (RTM) solution which contains: WCF Service project Console WCF client
I'm working on a solution where I have a WPF project that is using
I have a WPF application which so far has been client only, but now
I'm working on a project which uses the following technologies: C# (.NET 4.0) WCF
I am developing an application using WPF/MVVM. I have a WCF data service project
As mentioned in another question we are using WCF-RIA Services in our project in

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.