No ratings

Error "The server is not operational" when K2 windows STS is unable to reach one of the domain controllers in the environment.




Symptoms


The following error is thrown when accessing K2 smartforms:

More Details
System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException: The server is not operational. Name: "[abc.xyz.com]" ---> System.Runtime.InteropServices.COMException: The server is not operational. at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_AdsObject() at System.DirectoryServices.PropertyValueCollection.PopulateList() at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName) at System.DirectoryServices.PropertyCollection.get_Item(String propertyName) at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName) --- End of inner exception stack trace

Diagnoses


Error can be due to the Windows Security Token Service (STS) being unable to reach one of the domain controllers in the environment.

Resolution

If you are on K2 4.6.10 and above:

1. Open and edit the Windows STS web.config (C:Program Files (x86)K2 blackpearlWebServicesIdentityStsWindowsweb.config)

2. Under the node add the following.


3. Save the file and perform an IISRESET





Version history
Last update:
‎05-23-2016 08:10 PM
Updated by:
Contributors