- 3 minutes to read

Troubleshooting the Nodinite LDAP Web API

If you have any issues that you can not solve, contact our Support or send us an email at support@nodinite.com

The Nodinite LDAP Web API was developed, tested, and built using a lot of trace outputs. This output can be viewed using the SysInternals debugview tool.

The data protection operation was unsuccessful...

If you get the following exception when invoking the APIs:

Data Protection error

<?xml version="1.0" encoding="utf-8"?>
  <ExceptionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Message>The data protection operation was unsuccessful. This may have been caused by not having the user profile loaded for the current thread's user context, which may be the case when the thread is impersonating.</Message>
  </ExceptionResponse>

The Application Pool identity is probably running as the ApplicationPoolIdentity, which is not supported.

You must run the Application Pool for the Nodinite LDAP Web API with a named account, that also has the read/write rights. Review the Prerequisites.

About msExchHideFromAddressLists

The property msExchHideFromAddressLists must be set using either the value TRUE or FALSE (case sensitive); Otherwise, you will find errors like: Error in attribute conversion operation, data 0,v4f7c.

<ns0:LDAP xmlns:ns0=http://integrationsoftware.se/BizTalk/Adapters/LDAP/Request/1.0>
  <Batches returnResponseMessageOnExceptions="false" guid="e1725dcb-c22d-407f-acef-ab0256368f26">
    <Batch transactionScopeOption="Suppress" transactionTimeOut="30" continueOnError="true" guid="66d47c6b-9ccb-4541-bd35-5c9245f60962">
      <User>
        <With CN="XXXXXXXXX" searchScope="Base" expectedMatchCount="1"/>
        <Operations>
          <Update>
            <Properties>
              <Property name="msExchHideFromAddressLists" value="TRUE"/>
            </Properties>
          </Update>
        </Operations>
      </User>
    </Batch>
  </Batches>
</ns0:LDAP>

Internal Server Error 500

If you see the following error:

HTTP Error 500.0 - Internal Server ErrorThe page cannot be displayed because an internal server error has occurred.

Chances are there is a Policy in place preventing the app from loading the user profile.

Try adding the following app-setting for the Azure app service. WEBSITE_LOAD_USER_PROFILE = 1

Uninstalling the Nodinite LDAP Web API

How do I get the latest version?

As a registered user with a contract, download the latest package from the Nodinite portal

How do I know when there's a new version available?

Please subscribe to updates using our Support portal