Solved

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

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a Distribution Group 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 Recipients >>…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

685 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