Community SCOM MP error

Receiving the following error related to the SCOM Community MP. Currently running 2012 R2 RU 13.

Date: 11/9/2017 8:11:24 AM Application: Operations Manager Application Version: 7.1.10226.1360 Severity: Error Message:

System.IO.FileNotFoundException: Could not load file or assembly ‘Community.ManagementPackCatalog.UI, Version=1.0.2.0, Culture=neutral, PublicKeyToken=e59ef067fc54883b’ or one of its dependencies. The system cannot find the file specified.
File name: ‘Community.ManagementPackCatalog.UI, Version=1.0.2.0, Culture=neutral, PublicKeyToken=e59ef067fc54883b’
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.ConsoleViewDisplayService.OpenViewJobArguments.LoadType()
at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.ConsoleViewDisplayService.OpenViewJob(Object sender, ConsoleJobEventArgs args)
at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

1 Like

Well, to my surprise restarting my console resolved the problem.

1 Like

Had the same problem. Closing the console and opening it did not solve it. So I updated .NET which kind of helped partially. The original error went away and the MP was able to create the alert override MP under Settings. However when trying to discover the community packs it throws another error (popup):

Failed to create GitHubIndex Object

Unexpected character encountered while parsing value: <. Path ” , line0, position 0.


Any idea?

Details:

Date: 11/29/2017 11:01:09 AM
Application: Operations Manager
Application Version: 7.1.10226.1239
Severity: Error
Message:

System.AggregateException: One or more errors occurred. —> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ”, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Community.ManagementPackCatalog.UI.Models.GitHubRepository.<GetManagementPackIndexUsingHttp>d__14.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at Community.ManagementPackCatalog.UI.Models.GitHubRepository.&lt;PopulateDataFromRepository&gt;d__9.MoveNext() — End of inner exception stack trace — at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at Community.ManagementPackCatalog.UI.DataConnectors.InstalledCatalogQuery.CheckAndFillInstalledPacksList() at Community.ManagementPackCatalog.UI.DataConnectors.InstalledCatalogQuery.DoQuery(String criteria) at Microsoft.EnterpriseManagement.Mom.Internal.UI.Cache.Query1.DoQuery(String criteria, Nullable1 lastModified) at Microsoft.EnterpriseManagement.Mom.Internal.UI.Cache.Query1.FullUpdateQuery(CacheSession session, IndexTable& indexTable, Boolean forceUpdate, DateTime queryTime)
at Microsoft.EnterpriseManagement.Mom.Internal.UI.Cache.Query1.InternalSyncQuery(CacheSession session, IndexTable indexTable, UpdateReason reason, UpdateType updateType) at Microsoft.EnterpriseManagement.Mom.Internal.UI.Cache.Query1.InternalQuery(CacheSession session, UpdateReason reason)
at Microsoft.EnterpriseManagement.Mom.Internal.UI.Cache.Query1.TryDoQuery(UpdateReason reason, CacheSession session) at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler1 job, Object sender, ConsoleJobEventArgs args)
—> (Inner Exception #0) Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ”, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Community.ManagementPackCatalog.UI.Models.GitHubRepository.<GetManagementPackIndexUsingHttp>d__14.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Community.ManagementPackCatalog.UI.Models.GitHubRepository.<PopulateDataFromRepository>d__9.MoveNext()<—

Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ”, line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Community.ManagementPackCatalog.UI.Models.GitHubRepository.<GetManagementPackIndexUsingHttp>d__14.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Community.ManagementPackCatalog.UI.Models.GitHubRepository.<PopulateDataFromRepository>d__9.MoveNext()

Parsing-error.png

Likely this was due to some missing dll’s that weren’t loaded due to your console being open prior to import :slight_smile: The SCOM console has always been… ropey… :wink:

Thank you for the feedback. A beta version with some basic bug fixes was recently released, the URL below should take you to a download.

Which version are you currently using? If it is earlier than 1.0.2.1, could you please test this beta.

https://github.com/MPCatalog/scom-community-catalog-ui/releases/tag/v1.0.2.1-beta

Thanks,
Nathan

I tried 1.0.2.1 now and it works fine. The error went away and I can see the community MPs in the console. Thanks for the quick response.