La instalación o actualización de System Center 2012 Operations Manager Reporting produce un error 0xffffffff

En este artículo se proporciona una resolución para resolver el error 0xffffffff que se produce durante la instalación o actualización de System Center 2012 Operations Manager Reporting.

Versión original del producto: System Center 2012 Operations Manager, System Center 2012 R2 Operations Manager
Número de KB original: 2771907

Síntomas

Al instalar o actualizar a System Center 2012 Operations Manager Reporting, se puede producir un error y este error se registra OMReporting.log:

ExecNetFx: Error: El ensamblado especificado no está instalado.
ExecNetFx: error 0xffffffff: la línea de comandos devolvió un error.
ExecNetFx: no se pudo ejecutar el comando Ngen (con 0xffffffff de error): C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe desinstalar "Microsoft.EnterpriseManagement.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35", continuando de todos modos

Además, OMReporting.log puede mostrar lo siguiente:

Error: :Error al publicar informes de supervisión de aplicaciones.: Se produjo Exception.Type:
System.Web.Services.Protocols.SoapException, Exception Error Code: 0x80131501, Exception.Message: System.Web.Services.Protocols.SoapException: Hay un error en la línea 45 de código personalizado: [BC30002] El tipo "Microsoft.EnterpriseManagement.Presentation.Util.AntiXssEncoder" no está definido.
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:Error al publicar informes de diagnóstico de aplicaciones.
Error: :FATAL ACTION: ConfigureReportingForInstall

Causa

Esto puede ocurrir si el ensamblado Microsoft.EnterpriseManagement.Reporting.Code está presente en C:\Windows\Assembly.

Solución

Para resolver este problema, complete los pasos siguientes:

  1. Vaya a C:\Windows\Assembly.
  2. Busque Microsoft.EnterpriseManagement.Reporting.Code.
  3. Haga clic con el botón derecho en él y seleccione Desinstalar.
  4. Reinicie el servidor y vuelva a ejecutar la instalación de informes. Esta vez debería realizarse correctamente.