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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:26:54+00:00 2026-06-04T09:26:54+00:00

I am trying to call a Sharepoint Web Service via WCF from inside a

  • 0

I am trying to call a Sharepoint Web Service via WCF from inside a .ASHX on a different server. My code works if I run inside of Visual Studio’s debug web server, but not from IIS. The working server works in various authentication modes (Kerberos, NTLM), and the non-working one doesn’t work in any. I am impersonating the same user in both cases.

Using NTLM, I recorded a working session and non-working session in Wireshark. In the working one, Wireshark parses the NTLM data and reports a DOMAIN and USER NAME that I expect. In the non-working one, it shows

  DOMAIN: NULL
  USER NAME: NULL

I have debugged in IIS and impersonation is definitely working at the point of the service call. If I check WindowsIdentity.GetCurrent(), it’s the user I expect.

If I inspect the WCF service proxy on the working and non-working servers, they look identical — the part that deals with ClientCredentials is set to "" for Username and Password for both versions.

Any ideas on what else to check? Why would the NTLM data have DOMAIN and USER NAME set to NULL — where does it pick that up from?

  • 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-04T09:26:55+00:00Added an answer on June 4, 2026 at 9:26 am

    According to this:

    http://support.microsoft.com/kb/207671

    When IIS services an HTTP request, IIS performs impersonation so that access to resources to handle the request is limited appropriately. The impersonated security context is based on the kind of authentication performed for the request. The five different types of authentication available from IIS 4.0 are:

    Authentication Type                          Impersonation Type
    ------------------------------------         ---------------------
    Anonymous Access (no authentication)         Network
    Auto Password Synchronization is
    ON (ON=default)
    
    Anonymous Access (no authentication)         IIS Clear Text
    Auto Password Synchronization is OFF         
    
    Basic Authentication                         IIS Clear Text 
    
    NT Challenge/Response Authentication         Network 
    
    Client SSL Certificate Mapping               Interactive
    

    In my case, I have a Network Token, but

    Network tokens are “NOT” permitted to access network resources. (Network tokens are named so because this kind of token is traditionally created by a server when a user is authenticated across the network. To allow the server to use a network token to act as a network client and access another server is called “delegation” and is considered a possible security hole.)

    The KB has many possible ways to avoid the problem

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

Sidebar

Related Questions

I am trying to call a SharePoint web service from Acrobat JavaScript, and I
Trying to call a SAP SOAP Web Service from a generated sudzc app shows
I'm trying to learn to call SharePoint Web Services from an external C# client.
I'm trying to call a webservice from our office sharepoint. It works when I
I'm trying to use jQuery to get data from an ASP.NET web service (SharePoint
I am trying to call GetUserInfo on a sharepoint list (using the sharepoint web
Trying to call a WCF with a netTcpBinding via Silverlight, I am getting the
Im trying to call python functions from C code, and i followed a sample
I'm trying to create a C# program using a Sharepoint Web Service reference that
I'm trying to save a file to a Sharepoint server using JAX-WS. The web

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.