Quantcast
Channel: Exchange Server forum
Viewing all articles
Browse latest Browse all 6429

Exchange 2013 Update CU8 -> CU21

$
0
0

Hallo,

aktuell haben wir das Problem das wir einen Exchange 2013 mit CU8 auf die aktuelle Version CU21 bringen möchten.

Unser Plan war von CU8 auf CU14 dann auf CU18 und dann auf CU21 zu gehen. Auf dem System ist schon .NET Framework 4.7.2 installiert.

Jetzt haben wir bei dem Schritt CU8 -> CU14 aber schon eine Fehlermeldung erhalten:

---

Fehler:
Der folgende Fehler wurde generiert, als "$error.Clear(); 
          $dependentAssemblyGeneratorExePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "DependentAssemblyGenerator.exe");
          $exchangeBinPath  = [System.IO.Path]::Combine($RoleInstallPath, "bin");
          $clientAccessPath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess");
          $sharedWebConfig  = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess", "SharedWebConfig.config");

          $a = &"$dependentAssemblyGeneratorExePath" -exchangePath "$exchangeBinPath" -exchangePath "$clientAccessPath" -configFile "$sharedWebConfig";
          $a | % { if ($_.Length > 0) { Write-ExchangeSetupLog -Info "$_.ToString()" } }
          Start-SetupProcess -Name "iisreset" -Args "/timeout:120"" ausgeführt wurde: "System.Management.Automation.RemoteException".

Fehler:
Der folgende Fehler wurde generiert, als "$error.Clear(); 
          $dependentAssemblyGeneratorExePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "DependentAssemblyGenerator.exe");
          $exchangeBinPath  = [System.IO.Path]::Combine($RoleInstallPath, "bin");
          $clientAccessPath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess");
          $sharedWebConfig  = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess", "SharedWebConfig.config");

          $a = &"$dependentAssemblyGeneratorExePath" -exchangePath "$exchangeBinPath" -exchangePath "$clientAccessPath" -configFile "$sharedWebConfig";
          $a | % { if ($_.Length > 0) { Write-ExchangeSetupLog -Info "$_.ToString()" } }
          Start-SetupProcess -Name "iisreset" -Args "/timeout:120"" ausgeführt wurde: "System.Management.Automation.RemoteException: Unbehandelte Ausnahme:".

Fehler:
Der folgende Fehler wurde generiert, als "$error.Clear(); 
          $dependentAssemblyGeneratorExePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "DependentAssemblyGenerator.exe");
          $exchangeBinPath  = [System.IO.Path]::Combine($RoleInstallPath, "bin");
          $clientAccessPath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess");
          $sharedWebConfig  = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess", "SharedWebConfig.config");

          $a = &"$dependentAssemblyGeneratorExePath" -exchangePath "$exchangeBinPath" -exchangePath "$clientAccessPath" -configFile "$sharedWebConfig";
          $a | % { if ($_.Length > 0) { Write-ExchangeSetupLog -Info "$_.ToString()" } }
          Start-SetupProcess -Name "iisreset" -Args "/timeout:120"" ausgeführt wurde: "System.Management.Automation.RemoteException:  ".

Fehler:
Der folgende Fehler wurde generiert, als "$error.Clear(); 
          $dependentAssemblyGeneratorExePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "DependentAssemblyGenerator.exe");
          $exchangeBinPath  = [System.IO.Path]::Combine($RoleInstallPath, "bin");
          $clientAccessPath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess");
          $sharedWebConfig  = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess", "SharedWebConfig.config");

          $a = &"$dependentAssemblyGeneratorExePath" -exchangePath "$exchangeBinPath" -exchangePath "$clientAccessPath" -configFile "$sharedWebConfig";
          $a | % { if ($_.Length > 0) { Write-ExchangeSetupLog -Info "$_.ToString()" } }
          Start-SetupProcess -Name "iisreset" -Args "/timeout:120"" ausgeführt wurde: "System.Management.Automation.RemoteException: System.UnauthorizedAccessException: Der Zugriff auf den Pfad "C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\SharedWebConfig.config" wurde verweigert.
   bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   bei System.Xml.XmlDocument.Save(String filename)
   bei Microsoft.Exchange.Management.DependentAssemblyGenerator.UpdateConfigFile(String configFilePath, IList`1 exchangeAssemblies, Int32& numAssembliesAdded)
   bei Microsoft.Exchange.Management.DependentAssemblyGenerator.Main(String[] args)".

Fehler:
Der folgende Fehler wurde generiert, als "$error.Clear(); 
          $dependentAssemblyGeneratorExePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "DependentAssemblyGenerator.exe");
          $exchangeBinPath  = [System.IO.Path]::Combine($RoleInstallPath, "bin");
          $clientAccessPath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess");
          $sharedWebConfig  = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess", "SharedWebConfig.config");

          $a = &"$dependentAssemblyGeneratorExePath" -exchangePath "$exchangeBinPath" -exchangePath "$clientAccessPath" -configFile "$sharedWebConfig";
          $a | % { if ($_.Length > 0) { Write-ExchangeSetupLog -Info "$_.ToString()" } }
          Start-SetupProcess -Name "iisreset" -Args "/timeout:120"" ausgeführt wurde: "System.Management.Automation.RemoteException: ".

---

Daraufhin habe ich die Schritte aus folgendem Link durchgeführt:

https://social.technet.microsoft.com/Forums/en-US/a1c5c0f6-73db-4845-98b8-7a3c3031d3ed/exchange-2013-cu15-cas-upgrade-fails?forum=exchangesvrdeploy

Allerdings schlägt der Befehl auch fehl mit folgender Meldung:

PS C:\Program Files\Microsoft\Exchange Server\V15\Bin> DependentAssemblyGenerator.exe -exchangePath "%ExchangeInstallPat
h%\bin" -exchangePath "%ExchangeInstallPath%\ClientAccess" -configFile "%ExchangeInstallPath%\ClientAccess\SharedWebConf
ig.config"

02.08.2018 13:30:25 - Begin Dependent Assembly Generation.

02.08.2018 13:30:25 - Recursing %ExchangeInstallPath%\bin for DLLs.

Unbehandelte Ausnahme: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Program Files\Microsoft\Exchange Se
rver\V15\Bin\%ExchangeInstallPath%\bin" konnte nicht gefunden werden.
   bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   bei System.IO.FileSystemEnumerableIterator`1.CommonInit()
   bei System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, Search
Option searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   bei System.IO.Directory.EnumerateFiles(String path, String searchPattern, SearchOption searchOption)
   bei Microsoft.Exchange.Management.DependentAssemblyGenerator.GetExchangeAssemblies(String exchangeInstallPath, IList`
1 assembliesToAddToWebConfig)
   bei Microsoft.Exchange.Management.DependentAssemblyGenerator.Main(String[] args)

Wenn ich %ExchangeInstallPath% durch den richtigen Pfad ersetze, dann läuft das Script ohne Probleme durch.

Prüfen der Umgebungsvariable zeigt aber das diese eigentlich richtig ist:

PS C:\Program Files\Microsoft\Exchange Server\V15\Bin> $env:exchangeinstallpath
C:\Program Files\Microsoft\Exchange Server\V15\

Das mag vielleicht auch an der .Net Version liegen?

Eventuell macht es ja auch gar keinen Sinn erst auf CU14 - CU18 zu gehen um dann auf CU21 zu gehen.

Wir sind für weitere Ideen offen...


Jörg


Viewing all articles
Browse latest Browse all 6429


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>