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

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
In my Silverlight app, after creating ADO.NET Entity Data Model and WCF RIA Services
Have a WCF service (hosted in IIS 6.0) that takes an XML feed from
I am creating a silverlight card game which talks to a WCF service using
I have an WCF-service running on an server, and occasionally(1-2 times every month) it
After creating a instance of a class, can we invoke the constructor explicitly? For
After updating or creating a record I use url helper to redirect to the
I'm creating an API for a module and after I created several methods inside
I'm creating a fast application with ruby on rails, and after doing a lot

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.