Power BI

Content by Charles Sterling

WCF clients generated with svcutil.exe failing with error: SecurityNegotiationException

I have been having challenges creating Windows Communication Foundation (WFC) Clients on my Windows Vista computer using Svcutil.exe and just found the cause: It was due to the identity tag the SVCUTIL utility is adding to the clients app.config.  Removing this tag enabled my application to run on Windows Vista just fine!

I have included both the tag and the full error below but for more information see Scott Mason’s post at:




{“The Security Support Provider Interface (SSPI) negotiation failed.”}

<userPrincipalName value=”SOUTHPACIFIC\chass” />

System.ServiceModel.Security.SecurityNegotiationException was unhandled
Message=”SOAP security negotiation with ‘http://localhost:8080/ConsoleApplicationVB/service1′ for target ‘http://localhost:8080/ConsoleApplicationVB/service1′ failed. See inner exception for more details.”