Open jasonfare opened 6 years ago
If I unseal the management pack first, I don't get this error.
I also experience similar problems when trying to open an MP from a Management group: 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)
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!
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)}