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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:17:54+00:00 2026-05-22T18:17:54+00:00

I have a WCF self-hosted as a Windows Service. When I start the service

  • 0

I have a WCF self-hosted as a Windows Service.

When I start the service (under the NETWORK_SERVICE account), I can consume the service from my ASP.NET application on a different server.

However, the business rules have changed. Now I need to run the service under my own account. I am able to stop the service, and start it again under my account. No problem there.

Until I try to consume the service from my ASP.NET application on the other service. I get:

A call to SSPI failed, see inner exception

I’m relatively certain there’s something I need to do security wise to eliminate this error, being new to all this I just don’t know what.

Any help is greatly appreciated.

Thanks,
Jason

  • 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-22T18:17:55+00:00Added an answer on May 22, 2026 at 6:17 pm

    Usually this is a sign of a missing or misconfigured SPN, which gets in the way when you’re using windows authentication (at the transport or message level) and Kerberos is being negotiated.

    Notice that how/when the error manifests itself might depend on the way the hostname (or IP address) of the service host is used in the URL used by the client, since WCF will try, by default, to deduce the right SPN to use based on the URL information, unless you explicitly override it by setting the endpoint identity.

    So likely all you need to do is register an SPN (using setspn.exe) for your new service and make sure your client uses an appropriate identity.

    There’s some more extra information on how WCF uses service identities here, here and here.

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

Sidebar

Related Questions

I have a self-hosted WCF service with the InstanceContextMode set to PerSession. How can
I have a self-hosted WCF service running as a windows service using the WebAPI
System Description: I have a WCF service (self hosted in a windows service) which
I have a WCF self-hosted service in a Windows Forms application. I am going
I have a self-hosted WCF that runs under network_service beautifully on \Server1, but needs
I have a self-hosted WCF (as a Windows service), it has a web.config file.
I have an wcf winforms self-hosted app using nettcpbinding.(net.tcp://aaa.homeip.net:9388) The problem is windows 7
I have a self hosted Net Tcp WCF service and I have the following
We have WCF services being self-hosted by a Windows Service inside our domain, using
I have a simple self hosted WCF Console windows app, and I can connect

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.