Solved

Exchange 2010 install problems

Posted on 2010-08-12
22
2,504 Views
Last Modified: 2012-05-10
I have recently installed Echange 2010 onto Windows Server 2008 R2 and was in the process of following http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_2881-Migrate-Small-Business-Server-2003-to-Exchange-2010-and-Windows-2008-R2.html for the migration.

I encountered a problem with the install when I first loaded Exchange and stupidly restored the VM to a previous snapshot which left the current AD master with information about a partial install that no longer existed.

I managed to get Exchange re-installed after some other issues but the CAS role ended up partially installed. I have tried to run setup in maintenance mode to install the role but receive the following error:

Client Access Role
Failed

Error:
The following error was generated when "$error.Clear(); $thisServer = Get-ExchangeServer $RoleFqdnOrName; $adSiteId = $thisServer.Site; $pureMailboxServersFqdns = Get-ExchangeServer | Where {$adSiteId -eq $_.Site -and $_.IsMailboxServer -and -not $_.IsClientAccessServer} | ForEach {$_.Fqdn}; Get-MailboxDatabase | Where { ($pureMailboxServersFqdns -contains $_.RpcClientAccessServer) -and ($adSiteId -eq (Get-ExchangeServer $_.Server).Site)} | Set-MailboxDatabase -RpcClientAccessServer $thisServer" was run: "The operation couldn't be performed because object 'GLGVMEMAIL.EblenSubaru.local' couldn't be found on 'GLGVMPDC.EblenSubaru.local'.".

The operation couldn't be performed because object 'GLGVMEMAIL.EblenSubaru.local' couldn't be found on 'GLGVMPDC.EblenSubaru.local'.

Error:
The following error was generated when "$error.Clear(); $thisServer = Get-ExchangeServer $RoleFqdnOrName; $adSiteId = $thisServer.Site; $pureMailboxServersFqdns = Get-ExchangeServer | Where {$adSiteId -eq $_.Site -and $_.IsMailboxServer -and -not $_.IsClientAccessServer} | ForEach {$_.Fqdn}; Get-MailboxDatabase | Where { ($pureMailboxServersFqdns -contains $_.RpcClientAccessServer) -and ($adSiteId -eq (Get-ExchangeServer $_.Server).Site)} | Set-MailboxDatabase -RpcClientAccessServer $thisServer" was run: "Value cannot be null.
Parameter name: key".

Value cannot be null.
Parameter name: key

The first error was caused by me removing the Exchange 2010 server from ADSIedit on the PDC.

0
Comment
Question by:SectorX4
  • 8
  • 8
  • 2
  • +3
22 Comments
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33426930
Please upload setup logs
c:\exchangesetup\exchangesetup.log
0
 
LVL 2

Author Comment

by:SectorX4
ID: 33426993
This is the setup log, since this post I have been attempting to remove the Exchange roles which is also failing so there might be some more information at the end.
ExchangeSetup.log
0
 
LVL 3

Expert Comment

by:SangramGohil
ID: 33427162
Only cause i find is from error as -

"The first error was caused by me removing the Exchange 2010 server from ADSIedit on the PDC"

Log file also says

"ERROR] Exchange server "GLGVMEMAIL.EblenSubaru.local" was not found. Please make sure you have typed it correctly."


for me it looks like it is not able to find information in adsiedit at

Launch ADSIEdit.msc and navigate to CN=Configuration, CN=Services, CN=Microsoft Exchange, CN=<Your Organization Name>, CN=Administrative Groups, CN= <Exchange 2010 Administrative Group>, CN=Servers, CN=<Server Name>

try to restore this values. i am not sure how but this way you will be able to make it install /uninstall


0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33427166
Did you install Windows installer 4.5 before you started Exchange 2010 install.
did you a adprep /prepareschema before you installed Exchange 2010.
Are you trying to create the new Server - with the same name as the Old 2003 Server ?

@ what part of DeMazter's guide are you ?

Errors form logs
[08/13/2010 05:20:41.0494] [1] Setup failed previously while performing the action Uninstall.  Looking for the failed task with ID 9a909073.

[08/13/2010 05:20:41.0692] [1] [ERROR] The following error was generated when "$error.Clear(); get-WebServicesVirtualDirectory -Server $RoleFqdnOrName -DomainController $RoleDomainController | remove-WebServicesVirtualDirectory -DomainController $RoleDomainController;" was run: "Exchange server "GLGVMEMAIL.EblenSubaru.local" was not found. Please make sure you have typed it correctly.".
[08/13/2010 05:20:41.0692] [1] [ERROR] Exchange server "GLGVMEMAIL.EblenSubaru.local" was not found. Please make sure you have typed it correctly.
[08/13/2010 05:20:41.0692] [1] [WARNING] <<<  Setup failed to execute a task. Dumping all variables.... >>>


==
Weird thing is, the setup correctly detected Exchange Server form Domain controller here

[08/13/2010 00:49:10.0165] [0] The MSExchangeADTopology has a persisted domain controller: GLGVMPDC.EblenSubaru.local
[08/13/2010 00:49:10.0822] [0] PrepareAD has been run, and has replicated to this domain controller; so setup will use GLGVMPDC.EblenSubaru.local
[08/13/2010 00:49:10.0822] [0] Setup is choosing a global catalog...
[08/13/2010 00:49:10.0837] [0] Setup has chosen the global catalog server GLGVMPDC.EblenSubaru.local.
[08/13/2010 00:49:10.0837] [0] Setup will use the domain controller 'GLGVMPDC.EblenSubaru.local'.
[08/13/2010 00:49:10.0837] [0] Setup will use the global catalog 'GLGVMPDC.EblenSubaru.local'.
[08/13/2010 00:49:10.0837] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=EblenSubaru,DC=local'.
[08/13/2010 00:49:10.0853] [0] Exchange organization container for the organization is 'CN=EBLENSUBARU,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=EblenSubaru,DC=local'.
[08/13/2010 00:49:10.0900] [0] Setup will search for an Exchange Server object for the local machine with name 'GLGVMEMAIL'.
[08/13/2010 00:49:10.0931] [0] Exchange Server object found : 'CN=GLGVMEMAIL,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=EBLENSUBARU,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=EblenSubaru,DC=local'.


--
Where it errored out.

[08/13/2010 00:50:05.0091] [2] Active Directory session settings for 'Get-MailboxDatabase' are:  View Entire Forest: 'True', Configuration Domain Controller: 'GLGVMPDC.EblenSubaru.local', Preferred Global Catalog: 'GLGVMPDC.EblenSubaru.local', Preferred Domain Controllers: '{ GLGVMPDC.EblenSubaru.local }'
[08/13/2010 00:50:05.0091] [2] Runspace context: Executing user: EblenSubaru.local/Eblen Subaru/Users/Glenelg/Eblen Subaru Helpdesk, Executing user organization: , Current organization: , RBAC-enabled: Disabled.
[08/13/2010 00:50:05.0091] [2] Beginning processing.
[08/13/2010 00:50:05.0091] [2] Active Directory session settings for 'Set-MailboxDatabase' are:  View Entire Forest: 'True', Configuration Domain Controller: 'GLGVMPDC.EblenSubaru.local', Preferred Global Catalog: 'GLGVMPDC.EblenSubaru.local', Preferred Domain Controllers: '{ GLGVMPDC.EblenSubaru.local }'
[08/13/2010 00:50:05.0091] [2] Runspace context: Executing user: EblenSubaru.local/Eblen Subaru/Users/Glenelg/Eblen Subaru Helpdesk, Executing user organization: , Current organization: , RBAC-enabled: Disabled.
[08/13/2010 00:50:05.0091] [2] Beginning processing.

>> And this is the reason why it did

[08/13/2010 00:50:05.0325] [1] [ERROR] The following error was generated when "$error.Clear(); $thisServer = Get-ExchangeServer $RoleFqdnOrName; $adSiteId = $thisServer.Site; $pureMailboxServersFqdns = Get-ExchangeServer | Where {$adSiteId -eq $_.Site -and $_.IsMailboxServer -and -not $_.IsClientAccessServer} | ForEach {$_.Fqdn}; Get-MailboxDatabase | Where { ($pureMailboxServersFqdns -contains $_.RpcClientAccessServer) -and ($adSiteId -eq (Get-ExchangeServer $_.Server).Site)} | Set-MailboxDatabase -RpcClientAccessServer $thisServer" was run: "Value cannot be null.
Parameter name: key".
[08/13/2010 00:50:05.0325] [1] [ERROR] Value cannot be null.
Parameter name: key
[08/13/2010 00:50:05.0325] [1] [WARNING] <<<  Setup failed to execute a task. Dumping all variables.... >>>
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33427169
You can ping demazter here on how to go about this. He wrote the guide
http://www.experts-exchange.com/M_2355264.html
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33427177
Sangram @ please see my analysis.

I am scared of heterogeneous migrations - like the one between between SBS 2003 > Exchange 2010.
Microsoft doesnt support it.

You need someone really skilled to pull this off - someone like demazter / alan /  Cliff Galiher and other EE millionaires.
0
 
LVL 2

Author Comment

by:SectorX4
ID: 33427390
@Sangram

I have tried to re-create this value but with no luck, I'm thinking of restoring a previous system state to bring it back as I have only created one user since then.

@sunnyc7

I didn't install Windows Installer 4.5, I did do /Prepareschema before installing as per the guide, no the new server name is 'glgvmemail' and the old one is 'server'.

Before I had this problem I was up to perform legacy mailbox moves from the Exchange 2003 server over to the Exchange 2010 server, this generated the message below:

Error message is "Unexpected error (0x79F7DB6B) while executing command 'Get-MailboxDataBase -IncludePreExchange2010"

That error is what led me to the ADSI value that Sangram pointed out.

How do I go about contacting him Sunnyc7, I know some people don't want to be spammed EE questions to their work email and I just realized that EE doesn't have a PM feature.
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33428485
just ping him. He's a Zone advisor also.
http://www.experts-exchange.com/M_2355264.html

Copy paste the case.
0
 
LVL 20

Expert Comment

by:SatyaPathak
ID: 33428499
0
 
LVL 11

Expert Comment

by:JuusoConnecta
ID: 33428559
If the cas is partially installed, are you able to uninstall the partially cas role from Exchange installation ? In that case restart the PDC after the uninstallation and install the cas role again
0
 
LVL 3

Expert Comment

by:SangramGohil
ID: 33428595
@SectorX4

I would really try to restore first that value if i knew that created problem. Nothing more i can think of at this moment.


@sunnyc7

Thanks for making me understand of heterogeneous environment. I was refering his comment that he restored it to previous snapshot.



0
How does your email signature look on mobiles?

Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

 
LVL 28

Expert Comment

by:sunnyc7
ID: 33428621
You're welcome.

If you can give the guide a read here
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_2881-Migrate-Small-Business-Server-2003-to-Exchange-2010-and-Windows-2008-R2.html

This is one of the few documented effort of someone who has been successful in doing so.
Migrate from sbs 2003 > Windows + exchange 2010
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 33428649
suunyc > Thanks for giving me a shout.

SectorX4, can you explain exactly what it is that you had completed and what happened that made it all go "pear" shaped?
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33428839
demazter
Thanks for dropping by.

All we have right now is the exchange setup logs http:#33426993

I checked these and made some comments here on errors --  http:#33427166

The setup finds the correct DC, Exchange Server, logs it too  and then goes to

Exchange server "GLGVMEMAIL.EblenSubaru.local" was not found. Please make sure you have typed it correctly.".
[08/13/2010 05:20:41.0692] [1] [ERROR] Exchange server "GLGVMEMAIL.EblenSubaru.local" was not found. Please make sure you have typed it correctly.
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 33428864
Thanks sunnyc,

I have read the logs and the comments made above but just need to know what the current state of the server(s) is, what stage of the migration we got to and what is and isn't functioning.
0
 
LVL 2

Author Comment

by:SectorX4
ID: 33442519
@sunnyc7

Thanks for contacting demazter for me, it didn't click that he was a zone advisor.

@SatyaPathak

That's a great reference and exactly the type of situation I have been trying to find, I have tried re-creating the InformationStore object as described in the article but no luck so far.

@JuusoConnecta

Exchange setup complains that the Hub Transport uninstall has failed previously (doesn't explicitly mention it but it's the only other component not uninstalled apart from management tools). This is why I have been concentrating on getting the hub Transport uninstalled first.

@SangramGohil

I tried restoring the system state friday from backup on Friday but ran out of time so am hoping to do that, this should also give me enough time to try re-creating the objects in ADSIedit and trying the uninstall again.

@demazter

Thanks a lot for coming by to assist, firstly your guide is an excellent resource, dead easy to follow so thanks for creating something like that for us SBS people.

The current state of the server is:

GLGVMEMAIL (Exchange 2010/Windows Server 2008 R2)

Client Access Role installed
Hub Transport Role installed
Mailbox Role uninstalled successfully
Management Tools installed

The CAS role cannot be uninstalled as due to a previous uninstall failing:

Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:27

Hub Transport Role Prerequisites
Failed

Error:
A Setup failure previously occurred while uninstalling the ClientAccess role. Uninstall action must include this role.
Recommended Action: http://go.microsoft.com/fwlink/?linkid=30939&l=en&v=ExBPA.4&id=0e6c3aab-47f9-4b16-9cf2-8d0106e60226

Hub Transport tole uninstall currently gives this error:

Summary: 6 item(s). 1 succeeded, 1 failed.
Elapsed time: 00:00:02

Preparing Setup
Completed

Elapsed Time: 00:00:01

Client Access Role
Failed

Error:
The following error was generated when "$error.Clear(); get-WebServicesVirtualDirectory -Server $RoleFqdnOrName -DomainController $RoleDomainController | remove-WebServicesVirtualDirectory -DomainController $RoleDomainController;" was run: "Exchange server "GLGVMEMAIL.EblenSubaru.local" was not found. Please make sure you have typed it correctly.".

Exchange server "GLGVMEMAIL.EblenSubaru.local" was not found. Please make sure you have typed it correctly.

Elapsed Time: 00:00:01

Stopping Services
Cancelled

Remove Exchange Files
Cancelled

Restoring services
Cancelled

Finalizing Setup
Cancelled

SERVER (Exchange 2003/Windows Small Business Server 2003)

Only change here is that the server has been prepared as per your guide and that I have removed the AD entry under Configuration [server.domain.local)] -> CN=Configuration,DC=EblenSubaru,DC=Local -> CN=Services -> CN=Microsoft Exchange -> CN=Administrative Groups -> CN=Exchange Administrative Group -> CN=Servers -> CN=GLGVMEMAIL

The GLGVMEMAIL entry is what I have removed, the reason I removed it is after having rolled back to a snapshot and reinstalled Exchange I found that the Local Mailbox Move would give an error message when querying for servers. I did some searching and found that it could possibly be caused by old entries in ADSIedit so I removed the entry for it.

I hope that's what you need, if not let me know what else you need specifically.
0
 
LVL 2

Author Comment

by:SectorX4
ID: 33442606
I have tried re-creating the deleted object in ADSIedit by creating under the GLGVMEMAIL CN:

CN=Information Store -> CN-Exchange Storage Group -> CN=Mailbox Store (GLGVMEMAIL)

Unfortunately the uninstall still fails with what looks like the same error message.
0
 
LVL 2

Author Comment

by:SectorX4
ID: 33451693
I have talked to Microsoft and they have agreed to my suggestion of restoring the system state to an earlier backup before the Exchange install and reverting the Exchange VM to it's initial state.

This will hopefully put us back at square one after which I'll go through with Microsoft the steps of getting Exchange setup.

Will update with my progress tomorrow.
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 33459183
Please post back if you are facing any errors.
0
 
LVL 2

Author Comment

by:SectorX4
ID: 33460201
I have had to delay my restore of system state until tonight so will hopefully have a positive update then.
0
 
LVL 2

Author Comment

by:SectorX4
ID: 33563414
I have attempted a state restore but it turns out my first few backups were not old enough and the one that was got overwritten the day before I went to restore it on top of that a few were corrupt.

I have been working with Microsoft on this but I'll be honest they aren't really as great as some of the stories I have seen from people here.

CAS role still fails to install as shown in the attached log.

Microsoft have had me running around in circles re-running commands to prepare schema/ad/etc and trying to install with only one but nothing much has changed from what I have posted above.
300810.exchange.setup.log
0
 
LVL 2

Accepted Solution

by:
SectorX4 earned 0 total points
ID: 33572846
Yesterday I left Microsoft to work on this remotely and when I came back they had fixed the problem finding the server object, I asked them to provide an explanation of how they fixed it but unfortunately they didn't.

After this there was a problem with the otherwellknownobjects property which got corrupted at some point which I was able to fix by running ldp.exe and browsing the tree and modifying the value to null.

Once I did this I re-run setup /PrepareAD and was able to successfully install all roles.
0

Featured Post

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Join & Write a Comment

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now