Solved

Exchange 2013 - upgrade from CU1 to CU2 - "Specified cast is not valid"

Posted on 2013-10-24
3
1,270 Views
Last Modified: 2013-10-25
Today I ran Setup for the CU2 update to Exchange 2013 on a standalone server which previously had CU1 installed.  And - mea culpa - I didn't do as much pre-install reading as I should have done.  I double-clicked on Setup and followed the wizard, but it failed with an error "Specified Cast is Not Valid".

I found the following pages that looked relevant:

http://social.technet.microsoft.com/Forums/exchange/en-US/01edef61-5b10-44aa-9096-73798143992f/microsoft-exchange-2013-cu2-update-fails-on-mailbox-rolemailbox-service-error-exchange-now?forum=exchangesvrdeploy

http://edwardvbs.wordpress.com/2013/07/13/exchange-2013-cu1-to-cu2-upgrade/


The second of these states that before running the GUI setup for CU2:

a) You need to run a Schema Update
b) You need to run an AD Update
c) Best practice to put the servers into Maintenance Mode.


I didn't do any of these, I just ran the GUI setup.


So now I have a completely non-functional production Exchange server, which is a major problem.  

Looking for advice, please, on how I can move from the current situation to a working server with the CU2 update installed.
0
Comment
Question by:wakatashi
  • 2
3 Comments
 
LVL 63

Accepted Solution

by:
Simon Butler (Sembee) earned 500 total points
ID: 39599698
You don't need to run the ad and schema updates manually unless it is a multiple domain forest. If it is single domain forest, then setup.exe would be fine.

First thing I would do is download a fresh copy of the CU2 update file and see if that resolves things.

Simon.
0
 
LVL 1

Author Comment

by:wakatashi
ID: 39599733
Thanks Simon - I'll give that a try, and re-run the setup.

I've been having a look through the Exchange setup log, and the last thing logged is:

"Error occurred while uninstalling Search Foundation for Exchange.System.Exception: Cannot determine the product name registry subkey, neither the 'RegistryProductName' application setting nor the 'CERES_REGISTRY_PRODUCT_NAME' environment variable was set".

I found a TechNet blog post that dealt with this:

http://blogs.technet.com/b/manjubn/archive/2013/08/27/exchange-2013-upgrade-uninstall-fails-while-uninstall-search-foundation-for-exchange.aspx

However, if I try "Get-ChildItem Env:" in Powershell, the CERES_REGISTRY_PRODUCT_NAME environment variable is set to "Search Foundation for Exchange" as per the blog post, so this doesn't seem to apply.

Cheers,
Dave
0
 
LVL 1

Author Closing Comment

by:wakatashi
ID: 39599954
Running setup with a fresh copy of the download did the trick.  I don't know whether the original was corrupted or whether I could have just re-run setup with what I had, but the main thing is IT'S WORKING!

Thanks a million, Simon.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Resolve DNS query failed errors for Exchange
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
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…

707 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

11 Experts available now in Live!

Get 1:1 Help Now