Solved

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

Posted on 2013-10-24
3
1,314 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Server 2012 R2 SChannel Error 57 99
Intune and ActiveSync 2 22
Exchange 2010 - SAN cert renewal 5 50
script to trace the email in Office365 4 51
Utilizing an array to gracefully append to a list of EmailAddresses
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

734 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