Book a Demo

Author Topic: Error sync with AD: Microsoft Cursor Engine 0x80040e21 [Solved]  (Read 5596 times)

FJL

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
When syncing the Security Groups (via menu/Settings/Groups) with the Active Directory, I get an error:
(data anonymized)
Creating new user: Abcdefg Hijklmno Pqrstuvwx (upn: [email protected], legacy: XYS\px999pqri)
Error while importing user 'Abcdefg Hijklmno Pqrstuvwx ([email protected])': Microsoft Cursor Engine [0x80040e21]
Field 'UserLogin' - The field cannot be retrieved or stored without loss of data

It appears that the UserLogin field has a maximum length, as the user data to be stored is 62 characters long. Is that the cause of the problem?
« Last Edit: March 11, 2024, 08:30:11 pm by FJL »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Error sync with AD: Microsoft Cursor Engine 0x80040e21
« Reply #1 on: March 06, 2024, 11:58:09 pm »
You have to apply the latet update to the database schema.

The latest version are using the UPN to store the userlogin and the field is no longer long enough.
The schema update fixes this problem.

Geert

FJL

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Error sync with AD: Microsoft Cursor Engine 0x80040e21
« Reply #2 on: March 11, 2024, 08:29:04 pm »
Thank you, Geert, for you're quick en accurate solution! We've updated our databases.