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

  • 24 May 2016
  • 1 reply
  • 21 views

Badge +9


 

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




 

1 reply

Badge +4

Hi Ziqing,

Thank you for your post.

Can you please let me know which key we need to add in config file to resloved this issue.

 

Thanks in advance.

Reply