logo logo

ExchangeStoreDB error 231 and MSExchangerepl error 3154 after removing Exchange 2003 manually from ADSI Edit

After deleting a reference to exchange 2003 manually I started getting these errors after the next reboot every 2 minutes:


ExchangeStoreDB 231
Log Name: Application
Source: ExchangeStoreDB
Date: 3/13/2014 8:55:48 PM
Event ID: 231
Task Category: Database recovery
Level: Error
Keywords: Classic
User: N/A
Computer: Servername.domain.com
Description:
At '3/13/2014 8:55:46 PM', the copy of database 'Public Folder Database 1463691576' on this server encountered an error during the mount operation. For more information, consult the Event log on the server for "ExchangeStoreDb" or "MSExchangeRepl" events. The mount operation will be tried again automatically.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ExchangeStoreDB" />
    <EventID Qualifiers="49156">231</EventID>
    <Level>2</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-14T00:55:48.000000000Z" />
    <EventRecordID>7204766</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Servername.domain.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Public Folder Database 1463691576</Data>
    <Data>cc537fc4-a0fa-45cc-bff2-a8dd1df47be6</Data>
    <Data>Store</Data>
    <Data>GenericMountFailure</Data>
    <Data>
    </Data>
    <Data>Store</Data>
    <Data>There is only one copy of this mailbox database (Public Folder Database 1463691576). Automatic recovery is not available.</Data>
    <Data>3/13/2014 8:55:46 PM</Data>
  </EventData>

</Event>

And
MSExchangeRepl 3154
Log Name: Application
Source: MSExchangeRepl
Date: 3/13/2014 8:55:46 PM
Event ID: 3154
Task Category: Service
Level: Error
Keywords: Classic
User: N/A
Computer: Servername.domain.com
Description:
Active Manager failed to mount database Public Folder Database 1463691576 on server Servername.domain.com. Error: An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: MapiExceptionADPropertyError: Unable to mount database. (hr=0x80004005, ec=2418)

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MSExchangeRepl" />
    <EventID Qualifiers="49156">3154</EventID>
    <Level>2</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-14T00:55:46.000000000Z" />
    <EventRecordID>7204765</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Servername.domain.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Public Folder Database 1463691576</Data>
    <Data>Servername.domain.com</Data>
    <Data>An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: MapiExceptionADPropertyError: Unable to mount database. (hr=0x80004005, ec=2418)
</Data>
  </EventData>
</Event>

And
ExchangeIS 9519
Log Name: Application
Source: MSExchangeIS
Date: 3/13/2014 8:55:46 PM
Event ID: 9519
Task Category: General
Level: Error
Keywords: Classic
User: N/A
Computer: Servername.domain.com
Description:
While starting database cc537fc4-a0fa-45cc-bff2-a8dd1df47be6, the following error occurred: 0x972.
Look up of DB Info failed.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MSExchangeIS" />
    <EventID Qualifiers="49158">9519</EventID>
    <Level>2</Level>
    <Task>6</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-14T00:55:46.000000000Z" />
    <EventRecordID>7204764</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Servername.domain.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>0x972</Data>
    <Data>cc537fc4-a0fa-45cc-bff2-a8dd1df47be6</Data>
    <Data>Look up of DB Info failed</Data>
    <Binary>5B444941475F4354585D00002E000000FF742F0000000000000220000000496340107209000068284010720900003DE90010EC0300003DD1401072090000</Binary>
  </EventData>
</Event>

Solution steps:

Open adsiedit.msc.

Select Configuration-Configuration-Services-Microsoft Exchange-Orgname-Administrative Groups-Exchange Administrative Group.

Now we were missing the ‘Folder Hierarchies’ folder – how I still am unsure of. All we had to do was recreate it as follows:

Create the “Folder Hierarchies” under the Exchange Administrative Group

  1. Right click on Exchange Administrative Group
  2. Select New Object
  3. Select msExchPublicFolderTreeContainer for the class and click Next
  4. Enter the following for the value: Folder Hierarchies, click Next
  5. Click Finish

Create Public Folder Tree Object

  1. Right click CN=Folder Hierarchies -> New Object
  2. Selected msExchPFTree for the class
  3. For the value we entered, “Public Folders” and clicked next
  4. Clicked on the “More Attributes” button, selected msExchPFTreeType and set the
    value to 1. Note: This is very important that this value is set to a value of 1 as
    this tells Exchange that this is a MAPI Tree
  5. Click Ok and then finish

Populate msExchOwningPFTreeBL attribute object of the PF Stores in the organization
(Since this attribute is not directly editable, you have to follow the below steps
to do this for each PF store)

If this next part is confusing, skip to the next section for another solution’s example of what to do.

  1. Get properties of the newly created “Public Folders” Tree object in ADSIEdit.
  2. Copy the distinguishedname value to the clipboard and then click cancel.
  3. Navigate to the Storage group that contains the Public Folder Store for this
    server and get properties of the server.
  4. Locate the msExchOwningPFTree attribute and paste in the value that was copied
    to the clipboard in step 2. Click OK.
  5. Restart the Information Store Service
  6. Now try to mount the PF store and see if we can access it fine now.

Alternate method (same method, just better said). Note: This is just replacing steps 1-6 directly above this.
Populate the msExchOwningPFTreeBL attribute object of the PF Store

  1. Double click the newly created “Public Folders” object
  2. Double click distinguishedName, copy the value to the clipboard, click Cancel
  3. Exchange 2007: open properties of Configuration ⇒ Services ⇒ Microsoft Exchange ⇒ <Exchange Organization> ⇒ Administrative Groups ⇒ <Exchange 2007 Administrative Group> ⇒ Servers ⇒ <Affected Exchange Server> ⇒ Information Store ⇒ <Storage Group> ⇒ <Public Folder Database>
  4. Exchange 2010: open properties of Configuration ⇒ Services ⇒ Microsoft Exchange ⇒ <Exchange Organization> ⇒ Administrative Groups ⇒ <Exchange 2010 Administrative Group> ⇒ Databases ⇒ <Public Folder Database>
  5. Double click the msExchOwningPFTree attribute, paste the value that was copied to the clipboard in step 2
  6. Click OK twice

Try to mount the Store

  1. Restart the Microsoft Exchange System Attendant Service
  2. Open Exchange System Manager and try to mount the PF store

The successful event log was MsExchangeIS Public Store 3000 that replication has started and 9523 that the db has started.

bottom