Fehler bei Versionsupdate auf 9.1.36.12 KB5050412

7. August 2025 09:20

Hallo,

wir wollen unser D365 OnPrem auf die aktuellste Version 9.1.36.12 KB5050412 updaten.
Momentane Version ist 9.1.0035.0006.

Im Installationsprozess bekommen wir den Fehler:
2025-08-06 21:07:35.218| Info| Applying patch C:\Administration\CRM Versionsupdate\Version 9.1.36.12\Temp\Server_KB5050412_amd64_1031.msp using options 'ALLOWRUN=1 REBOOT=ReallySuppress CRMUPDATEWRAPPER=1 MSIENFORCEUPGRADECOMPONENTRULES=1 WEBSITE=/LM/W3SVC/1'
2025-08-06 21:08:23.904| Info| InstallerException: 1612
2025-08-06 21:08:23.904| Error| System.Exception: Fehler bei der Aktion Microsoft.Crm.UpdateWrapper.MspInstallAction. ---> Microsoft.WindowsInstaller.InstallerException: Die Installationsquelle für dieses Produkt ist nicht verfügbar. Stellen Sie sicher, dass die Quelle vorhanden ist und Sie Zugriff darauf haben.
bei Microsoft.WindowsInstaller.Installer.ApplyPatch(String patchPackage, String installPackage, InstallType installType, String commandLine)
bei Microsoft.Crm.UpdateWrapper.MspInstallAction.Do(IDictionary parameters)
bei Microsoft.Crm.Setup.Shared.CrmAction.ExecuteActionHelper(CrmAction action, IDictionary parameters, Boolean undo)
--- Ende der internen Ausnahmestapelüberwachung ---, Error, RetryCancel, Option1

Wie können wir den Fehler beheben?

Re: Fehler bei Versionsupdate auf 9.1.36.12 KB5050412

14. August 2025 15:11

Hallo,

wir konnten den ersten Fehler beheben, in dem wir manuell in das entpackte Verzeichnis die aktuellste Visual C++ 2008 SP1 Redistributable kopiert haben.

Jetzt bekommen wir aber folgende Fehler (Auszug aus der Log-Datei):

Code:
Error 2771:  Upgrade of feature Tools has a missing component.
Produkt: Microsoft Dynamics 365 Server -- Bei der Installation dieses Pakets ist ein unerwarteter Fehler aufgetreten. Es liegt eventuell ein das Paket betreffendes Problem vor. Der Fehlercode ist 2771. Argumente: Tools, ,


Und:
Code:
System.Exception: Fehler bei der Aktion Microsoft.Crm.UpdateWrapper.MspInstallAction. ---> Microsoft.WindowsInstaller.InstallerException: Schwerwiegender Fehler bei der Installation.
   bei Microsoft.WindowsInstaller.Installer.ApplyPatch(String patchPackage, String installPackage, InstallType installType, String commandLine)
   bei Microsoft.Crm.UpdateWrapper.MspInstallAction.Do(IDictionary parameters)
   bei Microsoft.Crm.Setup.Shared.CrmAction.ExecuteActionHelper(CrmAction action, IDictionary parameters, Boolean undo)
   --- Ende der internen Ausnahmestapelüberwachung ---, Error, RetryCancel, Option1


Hatte jemand diese Fehler beim CRM Update schon einmal und kann uns helfen?

Re: Fehler bei Versionsupdate auf 9.1.36.12 KB5050412

20. August 2025 10:54

Ich habe in den Log Dateien geschaut und gesehen, dass in diesem Step passiert:

2025-08-20 10:46:02.028| Info| Aktion gestartet um 10:46:02: CostFinalize.
2025-08-20 10:46:02.950| Info| DEBUG: Error 2771: Upgrade of feature Tools has a missing component.
2025-08-20 10:46:02.950| Error| Bei der Installation dieses Pakets ist ein unerwarteter Fehler aufgetreten. Es liegt eventuell ein das Paket betreffendes Problem vor. Der Fehlercode ist 2771. , Error, OK, Option1
2025-08-20 10:46:08.325| Info| InputResult: OK
2025-08-20 10:46:08.325| Info| Aktion beendet um 10:46:08: CostFinalize. Rückgabewert 3.
2025-08-20 10:46:08.325| Info| Aktion beendet um 10:46:08: INSTALL. Rückgabewert 3.

Nach kurzer Recherche:
Return Code 3:
In the context of the CostFinalize action, this return code usually points to a problem during these final checks. It could be due to:
Access Denied: The installer might not have the necessary permissions to write to the target directory.
Corrupted Installation Files: The MSI package or some of its components might be damaged.
File System Issues: Problems with the file system itself could prevent the installer from accessing or writing to necessary locations.
Licensing Issues: In some cases, incorrect or invalid license information can also trigger this error.

Es scheinen Berechtigungen zu fehlen, weiß jemand, welche ich benötige?

Re: Fehler bei Versionsupdate auf 9.1.36.12 KB5050412

21. August 2025 15:47

Ich habe weiteres herausgefunden:

KB5050412.log:
"SELMGR: ComponentId '{A2B3F2B0-1407-9952-929C-B2F15C874C44}' is registered to feature 'Tools', but is not present in the Component table. Removal of components from a feature is not supported!".

KB5050412_Msp.log:
SELMGR: ComponentId '{A2B3F2B0-1407-9952-929C-B2F15C874C44}' is registered to feature 'Tools', but is not present in the Component table. Removal of components from a feature is not supported!
MSI (s) (70:C8) [14:59:17:980]: Note: 1: 2771 2: Tools
DEBUG: Error 2771: Upgrade of feature Tools has a missing component.
MSI (s) (70:C8) [14:59:20:152]: Produkt: Microsoft Dynamics 365 Server -- Bei der Installation dieses Pakets ist ein unerwarteter Fehler aufgetreten. Es liegt eventuell ein das Paket betreffendes Problem vor. Der Fehlercode ist 2771. Argumente: Tools, ,

Aktion beendet um 14:59:20: CostFinalize. Rückgabewert 3.


Im Log vom letzte Update vom Februar steht dazu bzw zu der ID folgendes:
Executing op: ComponentRegister(ComponentId={A2B3F2B0-1407-9952-929C-B2F15C874C44},KeyPath=C:\Program Files\Dynamics 365\LangPacks\1031\Xrm\sql\9\Scripts\DBUpdate_CollationFix.sql,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1)

Hatte jemand das gleiche Problem? Wie kann ich das lösen?

Re: Fehler bei Versionsupdate auf 9.1.36.12 KB5050412

21. August 2025 15:59

Damit es nicht nur Selbstgespräch ist antworte ich mal, auch wenn ich nix beitragen kann. Wie du im CRM Unterforum siehst ist hier keine Aktivität. Versuch's doch mal in der englischsprachigen Community:
https://community.dynamics.com/