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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T14:38:05+00:00 2026-05-19T14:38:05+00:00

I have a issue in WCF that is driving me crazy. It is: The

  • 0

I have a issue in WCF that is driving me crazy. It is:

The message with Action ‘GetUserByUserNameAndPassword’ cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

The setup is as follows. I have one Web server running a client website in IIS 7 that is trying to communicate using WCF to another server which has SQL Server and a hosted WCF service in IIS 7.

Both these machines are on the same domain.

To try and strip it down to nothing I am trying to get this working with no security. The client config looks like this:

<bindings>
    <wsHttpBinding>
        <binding name="wsHttpBinding_Normal">
        <security mode="None"/>
        </binding>
    </wsHttpBinding>
</bindings>

<client>
    <endpoint address="http://192.168.1.10:3026/DS.Service/AuditLogger.svc"
    binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_Normal"
    contract="AuditLogger.IAuditLogger" name="wsHttpBinding_IAuditLogger">
        <identity>
            <dns value="localhost" />
        </identity>
    </endpoint>
</client>

Then on the server the config looks like this:

<bindings>
    <wsHttpBinding>
        <binding name="NormalTrafficBinding">
        <security mode="None"/>
        </binding>
    </wsHttpBinding>
</bindings>

<services>
    <service name="DS.Service.ServiceImplementation.AuditLogger">
        <endpoint address="http://192.168.1.10:3026/DS.Service/AuditLogger.svc"
        binding="wsHttpBinding" bindingConfiguration="NormalTrafficBinding"
        contract="DS.Service.ServiceContracts.IAuditLogger">
            <identity>
                <dns value="localhost" />
            </identity>
        </endpoint>
    </service>
<services>

The method itself looks like this:

    [OperationContract(IsTerminating = false, IsInitiating = true, IsOneWay = false, AsyncPattern = false, Action = "GetUserByUserNameAndPassword")]
    [FaultContract(typeof(DS.Service.FaultContracts.DSOfficeFault))]
    System.Data.DataSet GetUserByUserNameAndPassword(string userName, string password);
  • 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-19T14:38:05+00:00Added an answer on May 19, 2026 at 2:38 pm

    You have to define the same contract on both ends (server and client). Even though they are both called IAuditLogger, they might have different signatures. Try putting only one IAuditLogger class in one separate assembly then reference it in both config files or make sure both IAuditLogger have the same methods.

    You could have something like:

    <client>
    <endpoint address="http://192.168.1.10:3026/DS.Service/AuditLogger.svc"
    binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_Normal"
    contract="AuditLogger.IAuditLogger" name="wsHttpBinding_IAuditLogger">
        <identity>
            <dns value="localhost" />
        </identity>
    </endpoint>
    

    And

    <services>
    <service name="DS.Service.ServiceImplementation.AuditLogger">
        <endpoint address="http://192.168.1.10:3026/DS.Service/AuditLogger.svc"
        binding="wsHttpBinding" bindingConfiguration="NormalTrafficBinding"
        contract="AuditLogger.IAuditLogger">
            <identity>
                <dns value="localhost" />
            </identity>
        </endpoint>
    </service>
    

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

Sidebar

Related Questions

This issue is driving me crazy. I have a WCF service that uses a
I experience this issue: I have a WCF service, that exposes this operation contract:
I have a WCF service that runs as a singleton in IIS. The issue
I have very weird issue. I have method that called by wcf that hosted
I have issue that is reproduced on g++. VC++ doesn't meet any problems. So
My question is a design issue and it has been driving crazy over the
I have a WCF service method that returns a big byte[] array around 2
I have a WCF service that is running as a windows service. As soon
We have a WCF service that uses Entity Framework to query a SQL database.
I have an array of enumerations on a WCF request that comes through as

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.