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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:52:58+00:00 2026-05-31T18:52:58+00:00

i am working on a wcf project everything went well before an attempt to

  • 0

i am working on a wcf project

everything went well before an attempt to calling the service with a large object which exceeded the maxStringContentLength.

to fix that problem, i modify the config files in both client and server side to change that value from the default 8192 to 2M

then i get a FaultException exception that says “cannot create abstract class”, during the call to my service, and before any of my service code is executed

the detail of the exception says it might be an exception created by setting IncludeExceptionDetailInFaults to true and its value is System.MemberAccessException

well, due to some locale reasons, this isn’t the exact exception message, i have translated that to english to mean something similar

any suggestions on what might the problem be? thanks

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

    This problem has been resolved. It’s cause is that data contracts that are defined to be abstract classes at wcf server side will be transformed to concrete classes if you use visual studio to automatically generate the service reference at client side. Those concrete classes could be unintentionally instantiated, which causes the runtime exception

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

Sidebar

Related Questions

I'm working on a self-hosted WCF service for which encrypted communications is an option.
I have a project using WCF which was working fine, but I moved the
Overview: I am working on a project which involves a WCF and multiple types
I am working on a WCF project, which provides business information out of several
I'm working on a project where I need the following. WCF service on the
I'm working with a WCF service in Azure, which uses Windows Live ID authentication
I'm working on a project which uses the following technologies: C# (.NET 4.0) WCF
Over a year ago I had been working on a WCF service, which I
I'm working in a WCF project and we need to reuse some legacy components
I have a working .Net WCF HTTP service. If I put the URL into

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.