Problems migrating exchange 2007 to exch 2010 - can't remove old offline address book
I tried posting this problem on ServerFault but haven't had any reaction so far.
I'm migrating from exchange 2007 to exchange 2010 and have a problem. Everything has migrated over ok but I cannot remove the public mailbox db from the 2007 server. I want to uninstall exchange before decomissioning this box but have hit a block wall.
This is a domain where we've had exchange for around 10 years, so there's likely some junk in there related to the old instalations.
This is a spanish language server, so some of the text is in spanish.
The source of the problem appears to be old offline address books which cannot be removed. The two appear below and refer to 'first administrative group' and 'Primer grupo administrativo' - which means the same in english and spanish... presumably created
by different installers at one time or another... we've had lots of different exchange servers in this network.
When I try to remove the database it says that it contains replicas. There is nothing remaining on this box of any use:
get-publicfolder \ -recurse | select name, replicas
returns a list showing everything in the new public folder db except for IPM_SUBTREE
get-publicfolder \NON_IPM_SUBTREE -recurse | select name, replicas
returns a list showing everything in the new public folder db except for NON_IPM_SUBTREE and "EX:/o=IntegraXP/ou=first administrative group"
so I think I can safely say that the "EX:/o=IntegraXP/ou=first administrative group" public folder is the cause of my problems.
This what happens when I try to remove the public folder. It says to make sure I've correctly specified the identity of the folder.
[PS] C:\>get-publicfolder \NON_IPM_SUBTREE -recurse | where {$_.name -eq "EX:/o=Integ
raXP/ou=first administrative group"}
Name Parent Path
---- -----------
EX:/o=IntegraXP/ou=first administrative group \NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK
[PS] C:\>get-publicfolder \NON_IPM_SUBTREE -recurse | where {$_.name -eq "EX:/o=Integ
raXP/ou=first administrative group"} | remove-publicfolder
Confirmar
¿Está seguro de que desea realizar esta acción?
Quitando la carpeta pública "\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=IntegraXP/ou=first administrative group".
[S] Sí [O] Sí a todo [N] No [T] No a todo [U] Suspender [?] Ayuda (el valor predeterminado es "S"): s
Remove-PublicFolder : No se puede eliminar el objeto '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=IntegraXP/ou=first administrative
group'. Asegúrese de que ha especificado la identidad correcta y de que cuenta con los permisos correctos para eliminarlo.
En línea: 1 Carácter: 135
+ get-publicfolder \NON_IPM_SUBTREE -recurse | where {$_.name -eq "EX:/o=IntegraXP/ou=first administrative group"} | remove-publicf
older <<<<
+ CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], MapiPartialCompletionException
+ FullyQualifiedErrorId : 3B3918E6,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder
Any suggestions. Everything is already on my new server, so I'm open to drastic solutions.
Thanks
Ian Murphy
June 13th, 2011 5:44pm
see below for steps to remove public folder replicas from exchange 2007
http://support.microsoft.com/default.aspx?scid=kb;EN-US;927464
Free Windows Admin Tool Kit Click here and download it now
June 13th, 2011 6:01pm
Hello Ian,
You can remove the Public Folder Database from Adsiedit.msc
Configuration...>Services...>Microsoft Exchange...> ORG...> Administrative Group...>Exchange Administrative Group...>Server...>EXCHANGE 2007...>Second Storage Group (By Default you have Public folder database in Second Storage
Group) Delete the Public Folder Database.
Continue removing the server.
Post the result.Gulab | MCITP: Exchange 2010-2007 | Skype: Gulab.Mallah | Blog: www.ExchangeRanger.Blogspot.com
June 13th, 2011 6:17pm
LMurthy,
Already been through all those steps - the problem is that they fail on one public folder. The rest of my public folders all moved across without problem.
Free Windows Admin Tool Kit Click here and download it now
June 13th, 2011 6:56pm
Gulab,
This is what I wanted to leave as last resort if at all possible. If noone else has any suggestions then this may be my only solution.
Thanks
Ian
June 13th, 2011 6:58pm
well, if you have done the due diligence then remove from ADSIEDIT as Gulab Mallah suggested.
Free Windows Admin Tool Kit Click here and download it now
June 13th, 2011 7:00pm
well, if you have done the due diligence then remove from ADSIEDIT as Gulab Mallah suggested.
As LMurthy says, it's a last resort.
If you're looking to do further troubleshooting to get rid of the public folders that won't move, you could also increase diagnostic logging for Public Folders on on Exchange 2007 and 2010 to attempt to find any errors and look in the mail queues for public
folder replication messages that might be having issues.
Steve
Steve Goodman
Check out my Blog for more Exchange info or find me on
Twitter
June 13th, 2011 7:33pm
I was certain there was nothing left on this box. I've done maybe a couple of dozen exchange migrations but I'd never come across an individual public folder which I simply couldn't do anything with.
Its gone now. I just wanted to see if anyone had any better ideas than mine. This happened to be our own exchange server and not a clients. Knowing the history of our instalation, I knew this was a hangover from exchange 2000 or 2003 which I'd never gotten
around to cleaning up.
Thanks for the help guys
Ian
Free Windows Admin Tool Kit Click here and download it now
June 13th, 2011 8:22pm
Hello Ian,
So what was the final resolution?
Please post the resolution.Gulab | MCITP: Exchange 2010-2007 | Skype: Gulab.Mallah | Blog: www.ExchangeRanger.Blogspot.com
June 14th, 2011 5:58pm
ADSIedit. I trashed the entry for the public folder db in my second administrative group and removed exchange from this server.
That then created more problems as a link was missing to allow exchange to open the public folder db in my new admin group and, after rebooting, it didn't show up.
I realised what had happened and came across a posting by someone who had the same problem just a few days ago: http://blog.bruteforcetech.com/index.php/archives/766
Ian
Free Windows Admin Tool Kit Click here and download it now
June 14th, 2011 6:06pm