Udostępnij za pośrednictwem


Instalacja lub uaktualnienie raportowania programu System Center 2012 Operations Manager kończy się niepowodzeniem z powodu błędu 0xffffffff

Ten artykuł zawiera rozwiązanie problemu 0xffffffff błędu występującego podczas instalacji lub uaktualniania raportowania programu System Center 2012 Operations Manager.

Oryginalna wersja produktu: System Center 2012 Operations Manager, System Center 2012 R2 Operations Manager
Oryginalny numer KB: 2771907

Symptomy

Podczas instalowania lub uaktualniania do raportowania programu System Center 2012 Operations Manager może wystąpić błąd i ten błąd jest rejestrowany w OMReporting.log:

ExecNetFx: Błąd: określony zestaw nie jest zainstalowany.
ExecNetFx: Błąd 0xffffffff: Wiersz polecenia zwrócił błąd.
ExecNetFx: nie można wykonać polecenia Ngen (z błędem 0xffffffff): C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe odinstaluj "Microsoft.EnterpriseManagement.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35", kontynuuj mimo to

Ponadto OMReporting.log mogą pokazywać następujące elementy:

Błąd: :Publikowanie raportów monitorowania aplikacji nie powiodło się.: Threw Exception.Type:
System.Web.Services.Protocols.SoapException, Kod błędu wyjątku: 0x80131501, Exception.Message: System.Web.Services.Protocols.SoapException: W wierszu 45 kodu niestandardowego: [BC30002] Nie zdefiniowano typu "Microsoft.EnterpriseManagement.Presentation.Util.AntiXssEncoder".
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)
Błąd: :StackTrace: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(Komunikat SoapClientMessage, odpowiedź WebResponse, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
w: Microsoft.Reporting.Setup.ReportService2005.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties) at Microsoft.EnterpriseManagement.OperationsManager.Setup.ReportServices.ApplicationDiagnostics.ReportManager.PublishReport(FileInfo reportFile, String parent)
w: 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)
w: Microsoft.SystemCenter.Essentials.SetupFramework.InstallItemsDelegates.OMReportingProcessor.PublishAppDiagnosticsReports()
Błąd: :Error:Publishing App Diagnostics Reports failed (Błąd:Publikowanie raportów diagnostycznych aplikacji nie powiodło się).
Błąd: :FATAL ACTION: ConfigureReportingForInstall

Przyczyna

Może się to zdarzyć, jeśli zestaw Microsoft.EnterpriseManagement.Reporting.Code jest obecny w pliku C:\Windows\Assembly.

Rozwiązanie

Aby rozwiązać ten problem, wykonaj poniższe kroki:

  1. Przejdź do C:\Windows\Assembly.
  2. Znajdź plik Microsoft.EnterpriseManagement.Reporting.Code.
  3. Kliknij go prawym przyciskiem myszy i wybierz polecenie Odinstaluj.
  4. Uruchom ponownie serwer i ponownie uruchom instalację raportowania. Tym razem powinno się odnieść sukces.