Link to home
Start Free TrialLog in
Avatar of JJENSEN3
JJENSEN3

asked on

Removing a Incorrectly Installed Exchange database

I tried to install Exchange 2010 and had problems. I reformatted the drives on the server and installed it without issue the second time around.

The first unsuccessful time I named the server - ExchangeServer
The the second and successful installation I named the server - Exchange

Now, when I am in the Exchange Management console, I see the ExchangeServer listed under the Database Management tab in Organization Configuration -> Mailbox, along with the proper one (Exchange). It's mounted status is 'unknown'. When I try to delete the database, I get an error stating several possible reasons. I believe the incorrect install is somehow still in the AD.

Can anyone suggest how to remove this bad installed reference (ExchangeServer)?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Manpreet SIngh Khatra
Manpreet SIngh Khatra
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 JJENSEN3
JJENSEN3

ASKER

I follow your direction right up to the last portion - Server
I don't see any category of Server, nor do I see the server names listed. (See attached)

Any suggestions
Capture.JPG
Expand Oldenkemp and then AG and then Servers.

- Rancy
I would still like you to check before making any changes as i dont want something to break here :)
Found what you suggested and tried it.
Almost there.
See attached of what is left...
Example.jpg
Cool let me know if any help needed and be precautions !
Not sure how to eliminate the entry from my last post.
We were in ADSIEDIT and trying to remove the Old server and Database how come you came to EMC ?

- Rancy
I thought I was done in the ADSIEDIT.  I just went to the EMC to see if I cleared everything. Obviously I am not done. Not sure where to check in the ADSI to clear it from the EMC.
Can you please let me know once your ready and we can quickly run through it one by one ?

- Rancy
Did you restart emc ? You may also need to restart AD Topology service
Rancy,
I did the ADSIedit and found "exchangeserver" and deleted it, per your link. I will need some advisement on where to find the residual listing that appears in the EMC. I will be back on the project on Tuesday.
Enjoy the weekend.


- J. Jensen
Under Server Configuration in EMC. If any issues do let me know

- Rancy
Rancy,
I think I am not being clear.
I deleted the link ind ADSIEdit that contained the 'ExchangeServer' reference.

Now, when I go back to the EMC and view the Organization Configuration -> Mailbox, I see a reference to a mailbox database that cannot be removed. It is a mailbox database that was part of the corrupted installation with 'ExchangeServer'.

My question is, how do I make this entry disappear from the EMC? My guess is that I need to dig somewhere in the ADSIEdit to remove the reference.

See screenshot of deletion error, attached.

Jeff
EMC.doc
Ohk in Exchange 2010 the Database has no SG dependency and is at the Organization level ... so give me few minutes and will send you the ADSIEDIT location.

Ohk ... when you go to Administrative Groups you will see Database .... highlight and check the one that you dont want.

- Rancy
I found it in there. I deleted it and it worked.
I came across one more issue with this corrupt installation.
I created a user mailbox, and cannot delete it.
How do I manually remove it?
Disregard my last post. I disabled the user and then recreated a new mailbox. All worked well.
Thanks for all your assistance.
OK so if you run the command

get-mailboxdatabase

does it still show there ?

Increase logging level to expert level (7 - see link on how to do this if not sure) for MSExchangeIS

http://blogs.technet.com/b/ferris/archive/2010/05/03/howto-increase-the-logging-levels-in-exchange-2003-2007-and-2010.aspx

if so, and you now run

remove-mailboxdatabase -identity <mailbox> -confirm:$no (you can leave the last parameter and confirm manually if you wish), what error do you get (if any ?).

Can you also post the event relating to the above error in the application log, and also screen of the error in EMS

Should be able to fix this from there