All DirectAudit versions on all supported Windows platforms.
When upgrading DirectAudit databases through the database maintenance wizard (setup.exe /database), the wizard throws an unexpected error:
Unexpected error occurred. Please contact Centrify support.
System.Not.Supported.Exception: The number of WaitHandles must be less than or equal to 64.
If total number of attached Audit Store Databases is 64 or more, the above error is thrown. This is due to the way database versions are loaded.
When database versions are loaded, a thread is spawned for each database from the thread pool and calls WaitHandle.WaitAll, which has a theoretical limit of 64 handles.
In Audit Manager console, Detach databases to lower the number of databases to less than 64.
This issue will be fixed in later versions of DirectAudit.