Cannot Remove Public Folder Database because of Replicas
I am trying to remove a public folder database from a 2007 SP2 Enterprise system. We have one additional PF database in our network, so I ma not trying to remove public folders altogether. The error I get is that there are still replicas. When I try to remove the replicas from two areas, specifically Internet Newsgroups and Events Root, the server name just pops back in. For example, when I remove the PF server that is on the replica list and then click Apply, the server just does not go away. Any ideas?
November 20th, 2009 6:49pm

Hi, Try to move all replicas to other PF database using PS script file MoveAllReplicas.ps1 in EMS, which is placed in the Script folder of Exchange Installation Folder. Its syntax is: MoveAllReplicas.ps1 -Server "MyEx2007Server" -NewServer "SomeOtherExchangeServer" After running this script wait for 15 mins and then try to delete all replicas and then PF database. Regards,Laeeq Qazi|Snr Software Engineer(Exchange + Sharepoint + BES + DynamicsCRM) www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
November 20th, 2009 7:01pm

Hi Laeeq,I have tried using that script several times now and nothing has changed.
November 20th, 2009 7:14pm

Interestingly, when using the PFDAVAdmin tool, I can go to those same public and system folders, highlight the replica to remove and when I click on Commit Changes, an error pops up that reads: "Setting an empty replica list is not permitted"Maybe that will help you or someone to figure this out?
Free Windows Admin Tool Kit Click here and download it now
November 20th, 2009 7:16pm

I also see in Application Event Viewer: Error 1129 occurred while processing a replication event. Folder: (2-FFFFFFFF0003) IPM_SUBTREE\Internet Newsgroups
November 20th, 2009 7:19pm

Hi, Try my steps again but a little change. That may work as I have removed PF Databases several times. Run this command: MoveAllReplicas.ps1 -Server "YourPFDBServer" -NewServer "SomeOtherPFDBServer" Then immediately run the following commands to delete the Public Folders from the target PF Database. 1. Get-PublicFolder "\" -Recurse -ResultSize:Unlimited -Server YourPFDBServer | Remove-PublicFolder -Recurse -ErrorAction:SilentlyContinue 2. Get-PublicFolder "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited -Server YourPFDBServer| Remove-PublicFolder -Recurse -ErrorAction:SilentlyContinue Now wait for 15 mins and then try to delete PF database. Hope this helps. Regards, Laeeq Qazi|Snr Software Engineer(Exchange + Sharepoint + BES + DynamicsCRM) www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
November 20th, 2009 8:41pm

I can try that, but will running those commands remove the public folders on the other public folder server or damage them in any way?
November 20th, 2009 10:23pm

Hi, If you use correct public folder server then it wont effect your other PF server at all. Get-PublicFolder "\" -Recurse -ResultSize:Unlimited -Server YourPFDBServer | Remove-PublicFolder -Recurse -ErrorAction:SilentlyContinue-Server YourPFDBServer Put right PF Server name for -Server parameter, the server which contains the PF Database u want to delete. Or To make it simple, just log into your PF server (Mailbox Server containing PF Database) , and open EMS there, and then execute these commands without -Server parameter like this: Get-PublicFolder "\" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Recurse -ErrorAction:SilentlyContinue It will ensure that you are targeting local PF Server. Regards,Laeeq Qazi|Snr Software Engineer(Exchange + Sharepoint + BES + DynamicsCRM) www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
November 20th, 2009 11:27pm

I tried these commands and it did not work. Still can't remove the public folders because of replicas.
November 23rd, 2009 4:06pm

Are there any left items in the un-removable folders? Please use this article to troubleshoot the replica deletion 1129 indicates ecNoReplicaAvailable, please dismount the public database, run the integrity check (ISINTEG) on it, and mount the database James Luo TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx) If you have any feedback on our support, please contact tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
November 24th, 2009 5:00am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics