Initialization method ENSGenerationDocMgmtUnitTests.Test_Init threw exception. System.ServiceModel.Security.SecurityNegotiationException: System.ServiceModel.Security.SecurityNegotiationException: The server has rejected the client credentials. ---> System.Security.Authentication.InvalidCredentialException: The server has rejected the client credentials. ---> System.ComponentModel.Win32Exception: The logon attempt failed.
You will see this error on the server.
-
If you see this error then you need to check that the ConfigServiceURL in the SmartPlant Foundation server web.config file and the CacheServiceURL in the ConfigService/SPFSharedSettings/SPFAppServer.config are all set correctly.
-
Check the identity of the site application pools are valid. For example:
From
<add key="CacheServiceURL" value="net.pipe://localhost.ingrnet.com/SPFCacheServer/CacheService.svc" />
To
<add key="CacheServiceURL" value="net.pipe://localhost/SPFCacheServer/CacheService.svc" />