Issue with installing CU2 for Exchange 2013

I get the following error when installing the cumulative update 2 for exchange 2013.
I have tried a lot of things, but can not figure out why it goes wrong.
The message is in Dutch. It says something about missing a file, but googling that does not give me any resolution.

The error:
Error:
De opgegeven conversie is ongeldig.

Warning:
An unexpected error has occurred and a Watson dump is being generated: The following error was generated when "$error.Clear(); 
            if ($RoleProductPlatform -eq "amd64")
            {
                $fastInstallConfigPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\Installer";
                $command = Join-Path -Path $fastInstallConfigPath -ChildPath "InstallConfig.ps1";
                $dataFolderPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\HostController\Data";

                # Remove previous SearchFoundation configuration
                &$command -action u -silent;
                try
                {
                    if ([System.IO.Directory]::Exists($dataFolderPath))
                    {
                        [System.IO.Directory]::Delete($dataFolderPath, $true);
                    }
                }
                catch
                {
                    $deleteErrorMsg = "Failure cleaning up SearchFoundation Data folder. - " + $dataFolderPath + " - " + $_.Exception.Message;
                    Write-ExchangeSetupLog -Error $deleteErrorMsg;
                }

                # Re-add the SearchFoundation configuration
                try
                {
                    # the BasePort value MUST be kept in sync with dev\Search\src\OperatorSchema\SearchConfig.cs
                    &$command -action i -baseport 3800 -dataFolder $dataFolderPath -silent;
                }
                catch
                {
                    $errorMsg = "Failure configuring SearchFoundation through installconfig.ps1 - " + $_.Exception.Message;
                    Write-ExchangeSetupLog -Error $errorMsg;
                    
                    # Clean up the failed configuration attempt.
                    &$command -action u -silent;
                    try
                    {
                        if ([System.IO.Directory]::Exists($dataFolderPath))
                        {
                            [System.IO.Directory]::Delete($dataFolderPath, $true);
                        }
                    }
                    catch
                    {
                        $deleteErrorMsg = "Failure cleaning up SearchFoundation Data folder. - " + $dataFolderPath + " - " + $_.Exception.Message;
                        Write-ExchangeSetupLog -Error $deleteErrorMsg;
                    }
                }
            }
        " was run: "Error occurred while uninstalling Search Foundation for Exchange.System.IO.FileNotFoundException: Kan bestand of assembly Microsoft.Ceres.HostController.WcfTypes, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 of een van de afhankelijkheden hiervan niet laden. Het systeem kan het opgegeven bestand niet vinden.
Bestandsnaam: Microsoft.Ceres.HostController.WcfTypes, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
   bij System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
   bij System.Reflection.RuntimeMethodInfo.get_Signature()
   bij System.Reflection.RuntimeMethodInfo.GetParameters()
   bij System.Management.Automation.MethodInformation..ctor(MethodBase method, Int32 parametersToIgnore)
   bij System.Management.Automation.DotNetAdapter.GetMethodInformationArray(MethodBase[] methods)
   bij System.Management.Automation.DotNetAdapter.MethodCacheEntry..ctor(MethodInfo[] methods)
   bij System.Management.Automation.DotNetAdapter.PopulateMethodReflectionTable(Type type, CacheTable typeMethods, BindingFlags bindingFlags)
   bij System.Management.Automation.DotNetAdapter.GetStaticMethodReflectionTable(Type type)
   bij System.Management.Automation.DotNetAdapter.GetDotNetMethod[T](Object obj, String methodName)
   bij System.Management.Automation.Adapter.BaseGetMember[T](Object obj, String memberName)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
".

Open in new window

redworksAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Simon Butler (Sembee)ConsultantCommented:
I had something similar happen on a build I was doing last week - it was a dodgy download or extraction of the file. I downloaded a fresh copy and it was fine.

Simon.
0
lciprianionutCommented:
I hope you install latest CU2 for EX2013. I'm not a native Dutch but from what I can understand it seems is trying to uninstall Search Foundation and is not finding some file.
The full ExchangeSetup.log would be more useful to understand exactly what's happening there.
0
redworksAuthor Commented:
I traced it down to this.
In "c:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\Installer" there is a powershell script to run/configure the host controller. When I run this, with -i or -a, it fails.
Error is displayed above.

.\installconfig.ps1 -action i -dataFolder "c:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data"

Basically, the error tells me some dependancy can not be found, or whatever...
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

redworksAuthor Commented:
It seems the Windows Communication Foundation is having some issues.
I have worked on this all afternoon now, and I was unable to find how to reinstall it / repair it.

See error above.
The dutch message means it is missing files... Now what?
0
Simon Butler (Sembee)ConsultantCommented:
Most things are built in to Windows.
Therefore you are limited on what you can do. I would re-run the prerequisties commands from the Technet article and ensure that you have the latest downloads of the other bits that it needs for the install.

http://technet.microsoft.com/en-us/library/bb691354(v=exchg.150).aspx

Simon.
0
redworksAuthor Commented:
I am having BIG problems installing the Cummulative Update 2 for Exchange 2013.

For some reason, the upgrade keeps failing.

The unattended install gives me this at "Mail Transport Hub installation" (Sorry, the errors are partially in dutch)


 
      " was run: "Failure configuring SearchFoundation through installconfig.p
s1 - Error occurred while configuring Search Foundation for Exchange.System.Inva
lidOperationException: Kan de service HostControllerService op de computer . nie
t starten. ---> System.ComponentModel.Win32Exception: De service heeft de start-
 of stuuropdracht niet op juiste wijze beantwoord
   --- Einde van intern uitzonderingsstackpad ---
   bij System.ServiceProcess.ServiceController.Start(String[] args)
   bij Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.StartService(String
serviceName, Int32 timeoutInSeconds)
   bij Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.Install(String insta
llDirectory, String dataDirectoryPath, Int32 basePort, String logFile, Boolean s
ingleNode, String systemName, Boolean attachedMode)
   bij CallSite.Target(Closure , CallSite , RuntimeType , Object , Object , Obje
ct , Object , Object , Object , Boolean )".


The problem is that the HostControllerService service wont start. When I start it manually, it crashes with the following details:

Probleemhandtekening:
  Gebeurtenisnaam van probleem: CLR20r3
  Probleemhandtekening 01: hostcontrollerservice.exe
  Probleemhandtekening 02: 15.0.712.0
  Probleemhandtekening 03: 5199c4fd
  Probleemhandtekening 04: HostControllerService
  Probleemhandtekening 05: 15.0.712.0
  Probleemhandtekening 06: 5199c4fd
  Probleemhandtekening 07: 7
  Probleemhandtekening 08: e
  Probleemhandtekening 09: System.IO.FileNotFoundException
  Versie van besturingssysteem: 6.2.9200.2.0.0.272.7
  Landinstelling-id: 1043
  Aanvullende informatie 1: ab8c
  Aanvullende informatie 2: ab8c7f0d4887f334a1aa9f1cb12f1875
  Aanvullende informatie 3: 3123
  Aanvullende informatie 4: 3123444efd1f0f58a96f5fa5f54a8618

Lees de onlineprivacyverklaring:
  http://go.microsoft.com/fwlink/?linkid=190175

Als de onlineprivacyverklaring niet beschikbaar is, lees dan onze offlineprivacyverklaring:
  C:\Windows\system32\nl-NL\erofflps.txt


Naam van toepassing met fout: hostcontrollerservice.exe, versie: 15.0.712.0, tijdstempel: 0x5199c4fd
Naam van module met fout: KERNELBASE.dll, versie: 6.2.9200.16451, tijdstempel: 0x50988aa6
Uitzonderingscode: 0xe0434352
Foutmarge: 0x000000000003811c
Id van proces met fout: 0x2808
Starttijd van toepassing met fout: 0x01cea66d2708a137
Pad naar toepassing met fout: C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\hostcontrollerservice.exe
Pad naar module met fout: C:\Windows\system32\KERNELBASE.dll
Rapport-id: 670dbf4c-1260-11e3-944f-000c2918d882
Volledige pakketnaam met fout:
Relatieve toepassings-id van pakket met fout:


Toepassing: hostcontrollerservice.exe
Framework-versie: v4.0.30319
Beschrijving: het proces is beëindigd als gevolg van een onverwerkte uitzondering.
Uitzonderingsinformatie: System.IO.FileNotFoundException
Stack:
   bij Microsoft.Ceres.HostController.Service.ServiceRunner..ctor()
   bij Microsoft.Ceres.HostController.Service.ServiceRunner.Main()

I am at a loss here. I've tried numerous things. What can this be? It seems a file is missing (System.IO.FileNotFoundException), but does not tell me which one.
0
redworksAuthor Commented:
Also, just to let you know, I've tried:

- Reinstalling Exchange 2013 prereqs

- Run /prepareschema, /preparead, /preparedomain

- ran the installconfig.ps1 in uninstall and install mode

- Did what is explained here, just to be sure: http://support.microsoft.com/kb/2879739/sv

- Disabled TCP/IPv6 in registry and network adapters

- (Rebooted server)


RPC clients and such seem to be running, but the Microsoft Search Host Controller does not seem to start... It times out. In the registry I see it wants to run on port 17000, but when I do a netstat I see no processes binding to that port....

So yeah, trying for 5 days now... Going nuts!!
0
Simon Butler (Sembee)ConsultantCommented:
Still sounds like the buggy update from MSKB 2879739. You are either looking at calling Microsoft for support or building a replacement box and migrating across. The update has been fixed so will be fine on new builds.

Simon.
0
redworksAuthor Commented:
Also, the CU1 update has NO issues with the hostcontroller. It runs fine.

I tried to reinstall that, and it goes pretty far, upto a point where it says it can not mount the database since the database version is too new. Seems CU2 updated the version stamp in database, before properly finishing install.

So, I am stuck: Can't go back, can't go forward...
0
Simon Butler (Sembee)ConsultantCommented:
You cannot go backwards on Exchange versions on the same box.
I still feel that your options are limited to the ones that I have outlined above.

Simon.
0
redworksAuthor Commented:
In the end, it turns out the Searchhost controller from SharePoint was conflicting.
Completely remove SharePoint, reinstall CU2, and it works. After that, you can reinstall SharePoint again.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
redworksAuthor Commented:
this is simply the solution
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.