views:

44

answers:

1

When I run my WCF service on my local machine, it works fine. When I deploy the same files to our test server, I get this error when my test client tries to connect to the WCF service:

{"Security Support Provider Interface (SSPI) authentication failed. The server may not be running in an account with identity 'host/Server01'. If the server is running in a service account (Network Service for example), specify the account's ServicePrincipalName as the identity in the EndpointAddress for the server. If the server is running in a user account, specify the account's UserPrincipalName as the identity in the EndpointAddress for the server."}

What does this mean and what area should I be looking to fix? I played around with the web.config identity section, but I'm still unsure what is needed.

+1  A: 

I got a similar error before but the message is somewhat different

Right click on the application pool the web site is running under, click on Property then go to the Identity tab. Try to put the "host/Server01" identity in and see if that helps.

oykuo
I tried this, but it is asking for a username and password in order to change the identity (I'm on Server 2008 / IIS7).
alchemical
I just got it to work by setting this value to the local admin...it will do for now. Thanks for pointing me in the right direction!
alchemical