Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-10-28
4
Medium Priority
?
623 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 1500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

722 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