Error 8540 - ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH
The source and destination object must be of the same type.
Symptoms
- The source and destination object must be of the same type.
- System error 8540 (ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH)
Troubleshooting steps
- Note the exact error 8540 (ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH) and which operation failed.
- Check the Windows Event Viewer and the relevant application/service logs for related entries.
- Apply the fix documented by Microsoft for error ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com