Microsoft a publié un nouvel article dans la base de connaissances concernant System Center 2012 Operations Manager et une erreur pouvant survenir lors de l’installation ou la mise à jour du composant Reporting. L’erreur suivante apparaît dans le fichier OMReporting.log :
ExecNetFx: Error: The specified assembly is not installed.
ExecNetFx: Error 0xffffffff: Command line returned an error.
ExecNetFx: failed to execute Ngen command (with error 0xffffffff): C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe uninstall "Microsoft.EnterpriseManagement.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35", continuing anyway
Ou :
Error: :Application Monitoring reports publishing failed.: Threw Exception.Type: System.Web.Services.Protocols.SoapException, Exception Error Code: 0x80131501, Exception.Message: System.Web.Services.Protocols.SoapException: There is an error on line 45 of custom code: [BC30002] Type 'Microsoft.EnterpriseManagement.Presentation.Util.AntiXssEncoder' is not defined.
at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties, Warning[]& Warnings)
at Microsoft.ReportingServices.WebServer.ReportingService2005.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties, Warning[]& Warnings)
Error: :StackTrace: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.Reporting.Setup.ReportService.ReportingService2005.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.ReportServices.ApplicationDiagnostics.ReportManager.PublishReport(FileInfo reportFile, String parent)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.ReportServices.ApplicationDiagnostics.ReportManager.PublishReports(DirectoryParameter directoryParam)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.ReportServices.ApplicationDiagnostics.ReportManager.RunActionForDirectory(Predicate`1 action, DirectoryInfo directory, String currentPath)
at Microsoft.SystemCenter.Essentials.SetupFramework.InstallItemsDelegates.OMReportingProcessor.PublishAppDiagnosticsReports()
Error: :Error:Publishing App Diagnostics Reports failed.
Error: :FATAL ACTION: ConfigureReportingForInstall
L’erreur survient sur l’assembly Microsoft.EnterpriseManagement.Reporting.Code est présente dans C:\Windows\Assembly
Pour résoudre le problème, suivez la procédure :
- Naviguez dans C:\Windows\Assembly
- Rechercher Microsoft.EnterpriseManagement.Reporting.Code
- Cliquez droit et sélectionnez Uninstall
- Redémarrez le serveur et relancez l’installation.
Plus d’information sur la KB2771907 - Installation or upgrade of Reporting for System Center 2012 Operations Manager fails with error 0xffffffff