New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a call to sspi failed see inner exception. The target principal name is incorrect #1674
Comments
What's the scenario? Call stack can also help pinpoint issue. |
@hongdai, hello. I generated the wcf client through the wcf connected service. but when I call it, I got that error message. How can I setup the UPN for the service? thanks. |
@juchunwei Could you attach the generated reference.cs file? The tool does not support generating UPN information yet. I will see if I can help you to work around it by manually editing the generated reference.cs client code. |
@hongdai , thank you! I tried to upload the file but not successes. I added the UPN to the EndPoint.Address before I call the service and it's working now. but I noticed the method generated is not correct. like this one, it missed the parameter CallContext, I have to added it myself. ` public System.Threading.Tasks.Task<AxOnhandService.FL_InventOnhandServiceGetOnhandResponse> getOnhandAsync(CallContext callContext, string itemId, string configId, string colorId, string sizeId, string wigId, string capId, string hairId, string warehouse, string location)
|
@juchunwei Great to hear that you have figured out how to make it work yourself. Thanks for providing the detailed information that what was missing. We will take it consideration when adding the feature. |
H @hongdai , how u added UPN in Reference.CS. .Net Core 1.1 is saying CreateUPNIdentity is not available. Please share your reference file. I am adding WCF service in .net core 1.1 project and i am not able to connect WCF service it saying missing target principle name in error Thanks |
I got the error. how to correct it? thanks.
The text was updated successfully, but these errors were encountered: