[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Cant Remove Public Folders Database!

Posted on 2008-01-27
6
Medium Priority
?
8,099 Views
Last Modified: 2012-08-14
I have been having some problems with Public Folders and decided to just delete my existing Database and recreate it. When I try to remove the Databse I get the following error.

--------------------------------------------------------
Microsoft Exchange Error
--------------------------------------------------------
The public folder database 'Public Folder Database' cannot be deleted.

Public Folder Database
Failed
Error:
The public folder database "EXCHANGE\Second Storage Group\Public Folder Database" contains folder replicas. Before deleting the public folder database, remove the folders or move the replicas to another public folder database. For detailed instructions about how to remove a public folder database, see http://go.microsoft.com/fwlink/?linkid=81409.




--------------------------------------------------------
OK
--------------------------------------------------------


I have followed the directions here http://technet.microsoft.com/en-us/library/bb201664(EXCHG.80).aspx to remove the database using this process...

1.
Get-PublicFolder -Server <server with public folder database> "\" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <server with public folder database> -Recurse -ErrorAction:SilentlyContinue

2.
Get-PublicFolder -Server <server with public folder database> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <server with public folder database> -Recurse -ErrorAction:SilentlyContinue

3.
I then try to delete the database again from the EMC but I still get the same error.

I have used this command thread also http://msexchangeteam.com/archive/2007/11/13/447521.aspx Issuing this command "Get-PublicFolderStatistics | Remove-PublicFolder" Gives me the following errors...

Confirm
Are you sure you want to perform this action?
Removing public folder
"000000001A447390AA6611CD9BC800AA002FC45A0300451674AB104B4981A1793B98176CDD9300
00000000070000".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
(default is "Y"):A
Remove-PublicFolder : Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE
 BUSY\EX:/o=MOG/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)'. Please mak
e sure that you specified the correct identity and that you have the correct pe
rmissions to delete it.
At line:1 char:48
+ Get-PublicFolderStatistics | Remove-PublicFolder <<<<
Remove-PublicFolder : Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRES
S BOOK\EX:/o=MOG/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)'. Please ma
ke sure that you specified the correct identity and that you have the correct p
ermissions to delete it.
At line:1 char:48
+ Get-PublicFolderStatistics | Remove-PublicFolder <<<<
Remove-PublicFolder : Cannot delete the object '\NON_IPM_SUBTREE\OWAScratchPad{
19A501EE-0907-4163-AF12-E368FB6D2145}'. Please make sure that you specified the
 correct identity and that you have the correct permissions to delete it.
At line:1 char:48
+ Get-PublicFolderStatistics | Remove-PublicFolder <<<<
Remove-PublicFolder : Cannot delete the object '\NON_IPM_SUBTREE\schema-root'.
Please make sure that you specified the correct identity and that you have the
correct permissions to delete it.
At line:1 char:48
+ Get-PublicFolderStatistics | Remove-PublicFolder <<<<
Remove-PublicFolder : Cannot delete the object '\NON_IPM_SUBTREE\StoreEvents{19
A501EE-0907-4163-AF12-E368FB6D2145}'. Please make sure that you specified the c
orrect identity and that you have the correct permissions to delete it.
At line:1 char:48
+ Get-PublicFolderStatistics | Remove-PublicFolder <<<<
Remove-PublicFolder : Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRES
S BOOK\/o=MOG/cn=addrlists/cn=oabs/cn=Default Offline Address Book'. Please mak
e sure that you specified the correct identity and that you have the correct pe
rmissions to delete it.
At line:1 char:48
+ Get-PublicFolderStatistics | Remove-PublicFolder <<<<
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------

If I issue Get-PublicFolderStatistics i get the following


[PS] C:\Documents and Settings\dustinwkadmin>Get-PublicFolderStatistics

Name                                     ItemCount               LastAccessTime
----                                     ---------               --------------
EX:/o=MOG/ou=Exchange Administrative Gro 0                 1/27/2008 5:00:41 PM
up (FYDIBOHF23SPDLT)
EX:/o=MOG/ou=Exchange Administrative Gro 0                 1/27/2008 5:04:43 PM
up (FYDIBOHF23SPDLT)
OWAScratchPad{19A501EE-0907-4163-AF12-E3 0                 1/27/2008 5:04:43 PM
68FB6D2145}
schema-root                              0                 1/27/2008 5:04:43 PM
StoreEvents{19A501EE-0907-4163-AF12-E368 0                 1/27/2008 5:04:43 PM
FB6D2145}
/o=MOG/cn=addrlists/cn=oabs/cn=Default O 0                 1/27/2008 5:04:43 PM
ffline Address Book
------------------------------------------------------------------
------------------------------------------------------------------

So My guess is its not removing the folders corectly but I guess the question is how do I get it done?

I do not have any other exchange servers this is the only one and I do not want to move the replicas anywhere i just want to start a fresh database.
0
Comment
Question by:dustinwk
6 Comments
 
LVL 4

Accepted Solution

by:
dmorrisroe earned 2000 total points
ID: 20756403
in ADSIEdit, go to

Configuration > Services > Microsoft Exchange > [Exchange organization] > [Administrative Group] > [AG name] > Servers > [server name] > Information Store > Storage Group.

Then highlight the public store and delete it.
0
 

Author Closing Comment

by:dustinwk
ID: 31425525
Thank you I have another issue with the creation of the Free/Busy folders. If you can help the thread is here.

http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_23115433.html
0
 

Expert Comment

by:emetherd
ID: 21721106
I must say I had the same problem as discribed above and I have spent two days woking on and looking through technet. I spent 15 on experts exchange and solved my problem! Way to Go!
0
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

 

Expert Comment

by:pbttech
ID: 22328292
I would just like to say that this was a solution for my problem as well but would like to note that you may have to wait up to an hour for the change to reflect on your Exchange server. I rebooted as well which may have been beneficial or a hinderance. Nonetheless, thank you dmorrisroe!
0
 

Expert Comment

by:Penncomp
ID: 24230314
THANKS!
0
 

Expert Comment

by:kcorbinakc
ID: 24530276
Yup, me too.  Banged my head for a long time trying to remove a defunct database from a failed migration but ADSIEdit took care of it.  Thanks!
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Question has a verified solution.

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

Exchange administrators are always vigilant about Exchange crashes and disasters that are possible any time. It is quite essential to identify the symptoms of a possible Exchange issue and be prepared with a proper recovery plan. There are multiple…
Here is a method which can be used to help resolve a "Content Index Failed" error on a Microsoft Exchange Server.
In this video we show how to create an email address policy 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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses
Course of the Month8 days, 15 hours left to enroll

590 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