System Center 2012 Operations Manager Reporting のインストールまたはアップグレードがエラー 0xffffffffで失敗する

この記事では、System Center 2012 Operations Manager Reporting のインストールまたはアップグレード中に発生するエラー 0xffffffffを解決するための解決策について説明します。

元の製品バージョン: System Center 2012 Operations Manager、System Center 2012 R2 Operations Manager
元の KB 番号: 2771907

現象

System Center 2012 Operations Manager Reporting をインストールまたはアップグレードすると、エラーが発生し、このエラーがOMReporting.logに記録される場合があります。

ExecNetFx: エラー: 指定したアセンブリがインストールされていません。
ExecNetFx: エラー 0xffffffff: コマンド ラインからエラーが返されました。
ExecNetFx: Ngen コマンドの実行に失敗しました (エラー 0xffffffff C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe あり): "Microsoft.EnterpriseManagement.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"をアンインストールし、とにかく続行します

さらに、OMReporting.logは次のように表示される場合があります。

エラー: :アプリケーション監視レポートの発行に失敗しました。: 例外をスローしました。Type:
System.Web.Services.Protocols.SoapException, 例外エラー コード: 0x80131501, Exception.Message: System.Web.Services.Protocols.SoapException: [BC30002] 型 'Microsoft.EnterpriseManagement.Presentation.Util.AntiXsEncoder' が定義されていません。
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)
エラー: :StackTrace: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage メッセージ, WebResponse 応答, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] パラメーター)
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:Publishing App Diagnostics Reports failed。
エラー: :FATAL ACTION: ConfigureReportingForInstall

原因

これは、アセンブリ Microsoft.EnterpriseManagement.Reporting.Code が に存在する場合に C:\Windows\Assembly発生する可能性があります。

解決方法

この問題を解決するには、次の手順を実行します。

  1. C:\Windows\Assembly に移動します。
  2. を検索します Microsoft.EnterpriseManagement.Reporting.Code
  3. 右クリックし、[アンインストール] を選択 します
  4. サーバーを再起動し、レポートのインストールをもう一度実行します。 今回は成功するはずです。