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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:15:30+00:00 2026-06-15T15:15:30+00:00

I have a WCF Service hosted in IIS on DomainA . My client machine

  • 0

I have a WCF Service hosted in IIS on DomainA. My client machine is either not joined to any domain or it is on a domain that is not trusted hence I am not able to invoke the service. (Error: There was no endpoint listening at .... that could accept this message....)

In order to work around this I used explicit user credentials when calling into the WCF service.
http://blogs.msdn.com/b/sonuarora/archive/2007/04/21/setting-client-credentials.aspx

Proxy.ClientCredentials.Windows.ClientCredential.UserName = "UserA";
Proxy.ClientCredentials.Windows.ClientCredential.Password = "Pass"
Proxy.ClientCredentials.Windows.ClientCredential.Domain = "**DomainA**"
//UserA belongs to DomainA. 

I tried this from a machine on DomainA and it worked. I confirmed that UserA was used. But this does not work from client machine which is not from DomainA.

Is this because impersonation is happening on client machine? Is there a way to transport these explicit creds to IIS and on IIS machine try to impersonate ?

  • 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-15T15:15:31+00:00Added an answer on June 15, 2026 at 3:15 pm

    Ok, I found out that this was because there was no trust between the domains. Also, the impersonation happens at client side.

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

Sidebar

Related Questions

I have a WCF Service hosted in IIS/ASP.NET that accepts HTTP Post ( not
I have WCF service that is IIS-hosted and I have to send binary data
I have a WCF service hosted in IIS 5.1 on my development XP machine.
I have a WCF service that is hosted via IIS on multiple web servers.
I have a WCF service that's hosted on IIS 7 using a basicHttpBinding .
Have a WCF service (hosted in IIS 6.0) that takes an XML feed from
Hi, I have a WCF service hosted in IIS that has the following binding
I have WPF client consuming WCF service hosted in IIS. For authentication I am
I have a WCF service, hosted in IIS 7.0 that needs to run database
I have WCF service that is hosted in IIS . I need to initialize

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.