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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T15:24:05+00:00 2026-06-08T15:24:05+00:00

I have a solution with one WPF (4.0) project, one WCF (4.0) project, one

  • 0

I have a solution with one WPF (4.0) project, one WCF (4.0) project, one ASP.NET (4.0) and one
Silverlight 4 project.

I started developing the WCF service and the WPF client which worked fine, I also used the same WCF service with the ASP.NET project for fetching data. Everything worked just fine. However, silverlight didn’t want to play at all, so I created a new .svc file as a Silverlight enabled WCF service. And now, all of a sudden the ASP.NET and the WPF won’t bother communicating with the WCF, the error I get is:

The service cannot be activated because it does not support ASP.NET compatibility. ASP.NET compatibility is enabled for this application. Turn off ASP.NET compatibility mode in the web.config or add the AspNetCompatibilityRequirements attribute to the service type with RequirementsMode setting as Allowed or Required

So exactly HOW can I have the same WCF project (albeit not the same .svc file in the project) for both Silverlight and WPF??)

Any help will be greatly appreciated.

//JaggenSWE

  • 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-06-08T15:24:06+00:00Added an answer on June 8, 2026 at 3:24 pm

    You can try changing it to “Allowed” instead of “Required”.

    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class SomeWCFService : ISomeWCFService
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WPF/ASP.NET project which I haven't worked on for a while (ResourceBlender.NET
There are two projects in one VS solution: client(wpf app) and а wcf service
In a .net application involving several projects in one solution, I have a project
Started using Visual Studio 2012 RC since yesterday, We have one WCF solution. Whenever
I created a WCF service library project in my solution, and have service references
I have a client VB .NET 3.5 WPF app which is basically a test
I am currently developing a C# WPF project. The solution has two projects, one
Do you have one solution with the web application project, class libraries, database project
I have a solution called StoreExample It has one web project - StoreExample.Web It
I currently have the following in one solution: Core Project (data access, biz logic,

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.