Solved

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

Posted on 2008-10-28
4
570 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
  • 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create a mailbox database 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 Servers >> Data…
To show how to generate a certificate request 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 Servers >> Certificates…

809 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