JeanCloud365 / mpviewer

MPViewer tool for System Center 2012 Operations Manager
4 stars 3 forks source link

Unable to open management packs #2

Open jasonfare opened 6 years ago

jasonfare commented 6 years ago

Anytime we attempt to open a management pack, there is an error in the code that is ignored and nothing shows up on the screen for information:

This assembly is not fully signed. Cannot verify the strong name signature of the file: {"This assembly is not fully signed. Cannot verify the strong name signature of the file: {"Cannot load the management pack from the specified sealed assembly file: C:\SCMPs\WindowsServer\Microsoft.Windows.Server.2003.mp."} Data: {System.Collections.ListDictionaryInternal} ExceptionCode: MPAssemblyLoaderCannotGetManagementPackResourceStream ExceptionParameters: Count = 1 HResult: -2146233088 HelpLink: null InnerException: {"This assembly is not fully signed. Cannot verify the strong name signature of the file: C:\SCMPs\WindowsServer\Microsoft.Windows.Server.2003.mp"} Message: "Cannot load the management pack from the specified sealed assembly file: C:\SCMPs\WindowsServer\Microsoft.Windows.Server.2003.mp." Source: "Microsoft.EnterpriseManagement.Core" StackTrace: " at Microsoft.EnterpriseManagement.Configuration.IO.ManagementPackAssemblyReader.LoadAssembly(FileInfo info)\r\n at Microsoft.EnterpriseManagement.Configuration.IO.ManagementPackAssemblyReader..ctor(ManagementPack mp, String filePath)\r\n at Microsoft.EnterpriseManagement.Configuration.IO.ManagementPackMemoryStream..ctor(String filepath, ManagementPack mp)\r\n at Microsoft.EnterpriseManagement.Configuration.ManagementPack.InitializeFromFile(String filepath)\r\n at Microsoft.EnterpriseManagement.Configuration.ManagementPack..ctor(String filepath, IManagementPackStore storeForReferences)\r\n at MPViewer.MPViewer.fileToolStripMenuItem1_Click(Object sender, EventArgs e) in C:\Users\JFare\Desktop\mpviewer-R1\MPViewer.cs:line 1315" TargetSite: {Microsoft.EnterpriseManagement.Configuration.IO.SealedManagementPack LoadAssembly(System.IO.FileInfo)}

jasonfare commented 6 years ago

If I unseal the management pack first, I don't get this error.

sabofx commented 5 years ago

I also experience similar problems when trying to open an MP from a Management group: image Further details: Exception Text System.NullReferenceException: Object reference not set to an instance of an object. at MPViewer.MPViewer.PopulateListView(String contentsType) at MPViewer.MPViewer.objectTypeTree_AfterSelect(Object sender, TreeViewEventArgs e) at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e) at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv) at System.Windows.Forms.TreeView.WmNotify(Message& m) at System.Windows.Forms.TreeView.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Loaded Assemblies mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.7.3460.0 built by: NET472REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

MPViewer Assembly Version: 2.3.3.0 Win32 Version: 2.3.3.0 CodeBase: file:///C:/Users/someusername/Documents/MPViewer.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.7.3451.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.6.1099.0 built by: NETFXREL4STAGE CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.7.3429.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.EnterpriseManagement.Core Assembly Version: 7.0.5000.0 Win32 Version: 7.3.13142.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.EnterpriseManagement.Core/v4.0_7.0.5000.0__31bf3856ad364e35/Microsoft.EnterpriseManagement.Core.dll

Microsoft.mshtml Assembly Version: 7.0.3300.0 Win32 Version: 7.0.3300.0 CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll

Microsoft.EnterpriseManagement.OperationsManager Assembly Version: 7.0.5000.0 Win32 Version: 7.3.13142.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.EnterpriseManagement.OperationsManager/v4.0_7.0.5000.0__31bf3856ad364e35/Microsoft.EnterpriseManagement.OperationsManager.dll

System.ServiceModel Assembly Version: 4.0.0.0 Win32 Version: 4.7.3440.0 built by: NET472REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll

SMDiagnostics Assembly Version: 4.0.0.0 Win32 Version: 4.7.3440.0 built by: NET472REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll

System.IdentityModel Assembly Version: 4.0.0.0 Win32 Version: 4.7.3440.0 built by: NET472REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll

System.ServiceModel.Internals Assembly Version: 4.0.0.0 Win32 Version: 4.7.3440.0 built by: NET472REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll

System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.7.3440.0 built by: NET472REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

Microsoft.VisualStudio.Diagnostics.ServiceModelSink Assembly Version: 4.0.0.0 Win32 Version: 14.0.23107.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Diagnostics.ServiceModelSink/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll

System.Web Assembly Version: 4.0.0.0 Win32 Version: 4.7.3429.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

System.Transactions Assembly Version: 4.0.0.0 Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

System.EnterpriseServices Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

System.IdentityModel.Selectors Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel.Selectors/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.Selectors.dll

System.Security Assembly Version: 4.0.0.0 Win32 Version: 4.7.2650.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll

System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

Microsoft.EnterpriseManagement.Runtime Assembly Version: 7.0.5000.0 Win32 Version: 7.3.13142.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.EnterpriseManagement.Runtime/v4.0_7.0.5000.0__31bf3856ad364e35/Microsoft.EnterpriseManagement.Runtime.dll

System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

System.Data.SqlXml Assembly Version: 4.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.SqlXml/v4.0_4.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll

System.Xml.Linq Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

System.Xaml Assembly Version: 4.0.0.0 Win32 Version: 4.7.3429.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll

System.Net.Http Assembly Version: 4.0.0.0 Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

System.Runtime.DurableInstancing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.DurableInstancing/v4.0_4.0.0.0__31bf3856ad364e35/System.Runtime.DurableInstancing.dll

System.Web.Services Assembly Version: 4.0.0.0 Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll

System.ComponentModel.DataAnnotations Assembly Version: 4.0.0.0 Win32 Version: 4.6.1099.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll

System.Web.ApplicationServices Assembly Version: 4.0.0.0 Win32 Version: 4.7.3429.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.ApplicationServices/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.ApplicationServices.dll

System.Runtime.Caching Assembly Version: 4.0.0.0 Win32 Version: 4.6.1649.1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Caching/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.dll

Microsoft.Build.Framework Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Build.Framework/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll ----------------------------------------` Any help would be much appreciated!