0

I am using a .NET API to connect to WCF Services and it works fine in Visual Studio but not in LinqPad.

  • I am using the same code and referencing the same app.config and DLL files in both Visual Studio and in Linqpad.

  • Everything is running on my local computer.

  • The api is using .Net Framework 4.8, so I am using LinqPad 5

  • The service is up and running at http://localhost:2001/GenericService and the endpoint configuration looks ok

What can be the cause of this? wish I had more info to share but don't know where to look. I have tried to debug but found nothing of value more than it produces the error when getting the request

here is the error from LinqPad dump

Failed to communicate with *** Services. Failed to communicate with server. The caller was not authenticated by the service. The request for security token could not be satisfied because authentication failed.
   at System.ServiceModel.Security.SecurityUtils.ThrowIfNegotiationFault(Message message, EndpointAddress target)
   at System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingMessageBody(Message incomingMessage, SspiNegotiationTokenProviderState sspiState)

enter image description here

Thomas Adrian
  • 3,543
  • 6
  • 32
  • 62

0 Answers0