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?

RobertSeattleAsked:
Who is Participating?
 
Satya PathakLead Technical ConsultantCommented:
0
 
RobertSeattleAuthor Commented:
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.
0
 
RobertSeattleAuthor Commented:
Solution just needs to be updated for the schema changes in Exchange 2010 - databases now instead of the storage groups.
0
 
markpalinuxCommented:

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


0
 
dav1dr4yCommented:
Good one markpalinux.  That helped a lot.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.