Forum Discussion
Adam Weldon-Ming
Jan 19, 2021Brass Contributor
Error occurred while registering the connector
Hello
We're trying to setup UP,
Server meets all the requirements listed on the MS Docs (Win 2016+, .NET 4.7.2 etc)
Upon logging in and creating a new name to register the Connector we get:
In the event viewer we are shown:
Searched and searched, no real success.
------------------------------------------------------------------
The full error in event viewer reads:
-------------------------------------------------------------------------------------------
Exception occurred while initializing the Proxy Service: System.TypeInitializationException: The type initializer for 'ProxyLibrary.Constants' threw an exception. ---> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException: A local error has occurred. ---> System.DirectoryServices.DirectoryServicesCOMException: A local error has occurred. 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 --- at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName) at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context) at ProxyLibrary.Constants.IsAdJoined() at ProxyLibrary.Constants.CheckForImpersonation(JObject jsonConfig) at ProxyLibrary.Constants..cctor() --- End of inner exception stack trace --- at ProxyService.PrintProxyService..ctor()
--------------------------------------------------------------------------------------------------------------
Any help greatly appreciated.
Adam Weldon-Ming we have a canary/pre-release version of Connector with a few fixes, including this crash. Can you try upgrading to it via https://aka.ms/ConnectorMSI-Canary and trying to run the Connector again? Please let us know if you see any issues or if it ends up resolving the issue you were seeing earlier.
Thanks
- Rani_Abdellatif
Microsoft
Which version of the connector are you trying to register?- Adam Weldon-MingBrass Contributor
Installed version: 1.34.7683.23618
- Rani_Abdellatif
Microsoft
Looking into it.
- Is your connector joined to an AD domain or not?
- Are you planning to enable the hybrid AD/AAD config mentioned here?