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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:41:55+00:00 2026-05-27T16:41:55+00:00

So this question has the exact same symptoms of my problem. Security settings for

  • 0

So this question has the exact same symptoms of my problem.

Security settings for this service require ‘Anonymous’ Authentication but it is not enabled for the IIS application that hosts this service.

However, I’ve removed the mex endpoint from my web config and I still get the same error. My web config looks like this:

<system.serviceModel>
<services>
  <service name="xxx.MessageHub.MessageHubService"
           behaviorConfiguration="default">
    <endpoint binding="wsHttpBinding"
              contract="xxx.MessageHub.IMessageHubService" />
  </service>
</services>
    <behaviors>
  <endpointBehaviors>
  </endpointBehaviors>
        <serviceBehaviors>
            <behavior name="default">
                <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
                <serviceMetadata httpGetEnabled="true"/>
                <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
                <serviceDebug includeExceptionDetailInFaults="true"/>
      <serviceAuthorization principalPermissionMode="UseWindowsGroups" />
            </behavior>

        </serviceBehaviors>
    </behaviors>
    <bindings>
        <basicHttpBinding>
            <binding name="credsOnly">
                <security mode="TransportCredentialOnly">
                    <transport clientCredentialType="Windows"></transport>
                </security>
            </binding>
        </basicHttpBinding>
        <wsHttpBinding>
            <binding name="transport">
                <security mode="Transport">
                    <transport clientCredentialType="Windows"></transport>
                </security>
            </binding>
        </wsHttpBinding>
    </bindings>
</system.serviceModel>

I’m running the application with the IIS6 compatibility add on to IIS7 (because our prod servers run IIS6 – I get the same exception when deployed to the test server).

What settings do I need to fix to make this stuff work?

  • 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-27T16:41:56+00:00Added an answer on May 27, 2026 at 4:41 pm

    I was able to fix this by following the steps found at this msdn post, slightly modified:

    1. Right-click the Web.config file of the WCF service and then click Edit WCF Configuration.
    2. In the Configuration Editor, in the Configuration section, select the Bindings folder.
    3. In the Bindings section, choose New Binding Configuration.
    4. In the Create a New Binding dialog box, select wsHttpBinding.
      Click OK.
    5. Set the Name of the binding configuration to some logical and recognizable name; for example, WsHttpEndpointBinding.
    6. Click the Security tab.
    7. Set the Mode attribute to Transport by choosing this option from the drop-down menu.
    8. Set the TransportClientCredentialType to Ntlm by choosing this option from the drop-down list.
    9. In the Configuration section, select WsHttpEndpoint.
    10. Set the BindingConfiguration attribute to WsHttpEndpointBinding by choosing this option from the drop-down list.
      This associates the binding configuration setting with the binding.

    11. In the Configuration Editor, on the File menu, click Save.

    And (as far as I know) this provides authentication using integrated authentication (but not Windows integrated).

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

Sidebar

Related Questions

I am having the exact same problem describe in this question , but for
This question might or might not solve my problem - but I hope to
This question has been asked before ( link ) but I have slightly different
This question has been asked in a C++ context but I'm curious about Java.
To make this easier to understand, I will present the exact same problem as
Duplicate: This is the exact same question, from the exact same person, as Issue
This may seem like a very basic question but I did not seem to
Apologies if this question has been asked already, but suppose we have this code
This question has been discussed in two blog posts ( http://dow.ngra.de/2008/10/27/when-systemcurrenttimemillis-is-too-slow/ , http://dow.ngra.de/2008/10/28/what-do-we-really-know-about-non-blocking-concurrency-in-java/ ),
This question has spawned out of this one. Working with lists of structs 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.