Solved

Issue when creating user account with mailbox - "The directory service encountered an unknown error"

Posted on 2008-10-28
4
598 Views
Last Modified: 2012-05-05
Get an error after creating a new user account (with a new mailbox) in active directory.  The error is: "Windows cannot create the object because: The directory service encountered an unknown failure"
If I create a new user account and choose not to create a new mailbox I don't get the error.  If I then right click on the new user account and choose "Exchange Tasks" and select "Create Mailbox" and go throught the wizard I get a failed error.  Here is the XML file:

<?xml version="1.0" encoding="unicode" ?>
- <taskWizardRun taskName="Create Mailbox" dcName="PRIMARY-BDA-1" buildNumber="7638" runningAs="Administrator@primary.bm">
  <timespan startTime="2008-10-28 14:09:37.721" milliseconds="16" />
- <createMailbox>
  <database>/dc=bm/dc=primary/dc=bda/cn=Configuration/cn=Services/cn=Microsoft Exchange/cn=Primary Group Bermuda/cn=Administrative Groups/cn=First Administrative Group/cn=Servers/cn=PRIMARY-BDA-1/cn=InformationStore/cn=First Storage Group/cn=Mailbox Store (PRIMARY-BDA-1)</database>
  </createMailbox>
  <taskSummary errorCount="1" completedCount="0" warningCount="0" errorCode="0x00000000" />
- <items>
- <item adsPath="test1" class="user">
  <progress code="-4" milliseconds="16">Saving changes to the directory</progress>
  <summary isWarning="false" errorCode="0x80072020">An operations error occurred.</summary>
  </item>
  </items>
  </taskWizardRun>

I looked up the error code using the Error Code Lookup Tool and this is what it found:

C:\Documents and Settings\SLawrence\Desktop\Err>err 0x80072020
# as an HRESULT: Severity: FAILURE (1), Facility: 0x7, Code 0x2020
# for hex 0x2020 / decimal 8224 :
  ERROR_DS_OPERATIONS_ERROR                                     winerror.h
# An operations error occurred.
# 1 matches found for "0x80072020"

I also just noticed a repeating error in my event viewer, although I'm not sure it's related to the issue above.
Source: NTDS ISAM
Category: Database Page Cache
Event ID: 476
0
Comment
Question by:GSLBermuda
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
robrandon earned 500 total points
ID: 22825467
The Database Page Cache error may push you to run ESEUTIL and ISINTEG on your databases.  Are there any other messages in the event log?

What account and computer are you using when you are trying to mail enable the mailbox?  
0
 

Author Comment

by:GSLBermuda
ID: 22825982
The environment only has two servers - PDC and BDC and I tried on both of them logged in as Administrator (NOTE: I checked to make sure that Administrator is member of all the correct groups)
I'll have to get back to you on if their are any other messages in the event log.
0
 
LVL 16

Expert Comment

by:robrandon
ID: 22833907
Is this an NT4.0 domain?

Try creating an account using ADUC on your Exchange server and see if you get an error.

If it works there but not on other computers, make sure the other computers have the same SP/hotfix level as Exchange, as the Exchange tools need to be the same level of the Exchange Server.

0
 

Author Comment

by:GSLBermuda
ID: 22844826
OK...........So I was wrong when I stated that there is a PDC and BDC.  There is only one DC (also has exchange and SQL 2005 installed on it) and the second server is just an app\file\etc. server.  I did some more research and I think the NTDS.dit file has become corrupt.  The event ID 476 has been poping up since June and says that NTDS.dit is corrupt from possible failed hardware.
If repairing the NTDS.dit file in directory restore mode doesn't work, that maybe I should promote the other server as a DC, move FSMO roles, etc. and then demote the first server.
0

Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses
Course of the Month9 days, 21 hours left to enroll

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question