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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:25:14+00:00 2026-05-12T06:25:14+00:00

After creating a WCF Web Service for IIS and sucessfully testing it in my

  • 0

After creating a WCF Web Service for IIS and sucessfully testing it in my ASP.NET development server, when I deploy the service to another machine’s IIS it always fire the following exception on consumption:

Test method PoolingServiceTest.ProgramTest.MainTaskTest threw exception: System.ServiceModel.CommunicationObjectFaultedException: O objeto de comunicação, System.ServiceModel.Channels.ServiceChannel, não pode ser usado para comunicação porque está no estado Com Falha..

In English: The object cannot be used for communication because it is With Fault (faulted)

Stack trace

System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
System.ServiceModel.ICommunicationObject.Close(TimeSpan timeout)
System.ServiceModel.ICommunicationObject.Close(TimeSpan timeout)
Close()
System.IDisposable.Dispose()

What can I do to avoid this?

With a try catch block surrounding the client code I got a different exception:

[System.ServiceModel.Security.SecurityNegotiationException] {“O chamador não foi autenticado pelo serviço.”} System.ServiceModel.Security.SecurityNegotiationException

In English: The caller wasn’t authenticated by the service

  • 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-12T06:25:14+00:00Added an answer on May 12, 2026 at 6:25 am

    Quite obviously, from your second message, the service expects the caller to authenticate. Depending on your binding (protocol) used, this might be one of several methods:

    • Windows authentication: on by default for wsHttp and netTcp bindings – user’s Windows account will be used (and this requires the calling user and the called service to be on the same Windows domain, or at least in trusted domains)

    • UserName/Password authentication against ASP.NET membership – this typically requires quite some configuration, so I don’t think you’ll have that “on by default”

    • X.509 certificates – again, requires configuration

    My guess would be: your web IIS server somehow doesn’t understand / interpret the caller’s identity correctly. Is that IIS server maybe not member of the Active Directory domain? Or is the caller’s machine not member of that same domain? It must be something in that area, I think.

    Marc

    PS:
    To turn off security all together (NOT RECOMMENDED! – at least not for real production systems), you can do this:

    <bindings>
      <basicHttpBinding>
        <binding name="NoSecurity">
          <security mode="None" />
        </binding>
      </basicHttpBinding>
    

    and then reference that binding configuration in your endpoints (both server side and client side):

    <endpoint address="....." 
              binding="basicHttpBinding" 
              bindingConfiguration="NoSecurity"
              contract="IMyService" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Yesterday I began learning WCF by porting an existing ASP.NET Web Service. Creating the
After creating .NET assemblies in SQL Server 2005, is there anything I need to
I´m creating a new WCF service. I initially had only three operations. But after
I have a WCF Web Service which is referenced from a class library. After
We are working on creating an installation package for a WCF-based web service. The
After creating a web service client in a web application on NetBeans 7.0, the
In my Silverlight app, after creating ADO.NET Entity Data Model and WCF RIA Services
After creating a listview from VS2010 and adding it as a web part to
I am creating a website in asp.net but i have some issue.. I have
Using Visual Studio 2010 when creating a wcf service the template creates a class

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.