I am struck with a problem while retrieving the Windows Credentials from WCF service.
1. I have used WSHttpBinding.
2. I have configured the Website and App pool to run under a specific user who is an Administrator for the server.
3. I have created the windows Credential of Generic type using Credential manager with the same user.
4. I configured the Website to allow only Anonymous and Windows Authentication in IIS (IIS Version: 8.5).
5. I tried the same code in the same server by logging into server with same user and debug the service. The service is returning the windows Credential requested.
6. But i am unable to retrieve the Windows Credentials from the same code when published in IIS in the same server.
i configure the Security in Server and client as below:
7. I tried to read the error code generated by Credential Manager API from my code and it returned the below error when i am accessing the deployed service.
- ERROR_NOT_FOUND: there is no credentials associated with the given resource name.
Replies
Know the answer? Post it — somebody with the same question will find it here.