Link to home
Start Free TrialLog in
Avatar of RobertSeattle
RobertSeattle

asked on

Cannot delete exchange 2010 public folder database - Exchange thinks there are replicas that aren't there.

I have an Exchange 2010 Public Folder database which I can't seem to remove.  When I issue the remove command, I get:
--------------------------------------------------------
Microsoft Exchange Error
--------------------------------------------------------
The public folder database 'PublicFoldersOnEx2010' cannot be deleted.

PublicFoldersOnEx2010
Failed
Error:
The public folder database "PublicFoldersOnEx2010" 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&clcid=0x409.

I followed the link but that doesn't fix the issue.  I've checked the replication data in the ExFolder application and the server in question does not show up at all.    If I do Get-PublicFolderStatistics I do get a short list of folders (out of thousands in the PF), all with zero items as the results.  If I manually go to those folders in the Public Folder Admin Tool the Server does not show up there in the replication list.  There's nothing in the Msg Queue related to public folder updates.  Is there a way to "force" a removal?

ASKER CERTIFIED SOLUTION
Avatar of Satya Pathak
Satya Pathak
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RobertSeattle
RobertSeattle

ASKER

SatyaPatha,
Your solution is "close" - but it needs to be updated for the Exchange 2010 changes to the schema.  But it gave me what I needed to fix the problem.  Always frustrated when one has to resort to "ADSIEDIT" to fix things.
Solution just needs to be updated for the schema changes in Exchange 2010 - databases now instead of the storage groups.
Avatar of markpalinux

I had gotten another solution, if you want to remove the public folder database and are seeing error because it still has replicas...

I had removed all replicas but the

get-publicfolderstatistics -server ServerName returrned about 10 folders.

I dismounted the public folder database , then moved the edb and logs to another location.

Mounted the database ... said yes to the prompt to mount as empty.

Then was able to remove the public folder database without having to touch AD.

Mark


Good one markpalinux.  That helped a lot.