I have a customer that was having an issue with LFDS syncing to AD. Turns out it was the problem described in this post:
https://answers.laserfiche.com/questions/171067/Directory-server-synchronization-is-failing-Violation-of-UNIQUE-KEY-constraint
Long story, short, there were two users that I cleaned out of LFDS, then the sync completed successfully. The only issue is that now I'm getting the following error in the LFDS event log HUNDREDS of times each time LFDS syncs (successfully):
System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)
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 Laserfiche.LicenseManager.ADGS.ADGSModule.SynchronizeDatabase(Object data)
Type:
System.Runtime.InteropServices.COMException
Stack Trace:
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 Laserfiche.LicenseManager.ADGS.ADGSModule.SynchronizeDatabase(Object data)
I don't understand how it's throwing hundreds of errors, yet completing successfully. Anybody have any idea how I can solve this puzzle?