The portal was working fine last week and this morning it started throwing this error. I just upgraded the system from 2012 SP1 to R2 the weekend before if that helps.
I'm at a loss on this one. Any ideas on what could be going wrong?
Here is the error recorded in the Silverlight SMPortalTrace.log file.
Error,2015-04-27 16:15:18.7944491,System.Reflection.TargetInvocationException: [Arg_TargetInvocationException]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.30514.00&File=mscorlib.dll&Key=Arg_TargetInvocationException
---> Microsoft.EnterpriseManagement.Presentation.DataAccess.DataProviderException: Microsoft.EnterpriseManagement.Presentation.DataAccess.DataProviderException: The type initializer for 'Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.ObjectDataTypeBase`1'
threw an exception. ---> System.TypeInitializationException: The type initializer for 'Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.ObjectDataTypeBase`1' threw an exception. ---> System.ArgumentException: An item with the same key has
already been added.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Microsoft.EnterpriseManagement.UI.Core.Shared.CacheService.RegisterCache(String key, IQueryCache queryCache)
at Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.ObjectDataTypeBase`1..cctor()
--- End of inner exception stack trace ---
at Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.ObjectDataTypeBase`1..ctor(Uri name)
at Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.SdkDataTypeBase`1..ctor(Uri name, String dataIdPrefix)
at Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.EnterpriseManagementObjectDataTypeBase`1..ctor(Uri name, String dataIdPrefix)
at Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.EnterpriseManagementObjectProjectionDataType..ctor(ManagementPackTypeProjection mpTypeProjection, Uri name, String dataIdPrefix)
at Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.EnterpriseManagementObjectProjectionDataType..ctor(ManagementPackTypeProjection mpTypeProjection)
at Microsoft.EnterpriseManagement.ServiceManager.Portal.DataProviders.InstanceProviderBase.GetDataTypeBase(ManagementPackElement mpElement)
at Microsoft.EnterpriseManagement.ServiceManager.Portal.DataProviders.EnterpriseManagementObjectProjectionProviderBase.GetProjections(Guid typeProjectionId, IList`1 propertyNames, String criteria, String sortXml)
at Microsoft.EnterpriseManagement.ServiceManager.Portal.DataProviders.EnterpriseManagementObjectProjectionProvider.GetProjectionsByCriteria(Guid typeProjectionId, List`1 propertyNames, String criteria)
--- End of inner exception stack trace ---
at Microsoft.EnterpriseManagement.Presentation.DataAccess.DataProviderCommandMethod.Invoke(CoreDataGateway gateWay, DataCommand command)
at Microsoft.EnterpriseManagement.Presentation.DataAccess.CoreDataGateway.Execute(DataCommand command)
at Microsoft.EnterpriseManagement.Presentation.DataAccess.Server.DataAccessService.Execute(TransportDataCommand command)
at SyncInvokeExecute(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
at Microsoft.EnterpriseManagement.ServiceManager.Portal.ServiceCatalogSilverlightModule.Models.DataProvider.<>c__DisplayClass1.<FetchAllServiceOfferings>b__0(Object sender, AsyncDataCommandCompletedEventArgs`1 e)
at Microsoft.EnterpriseManagement.Presentation.DataAccess.AsyncDataCommandBase`2.<>c__DisplayClass2.<CompleteCommand>b__0(Object )
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, Boolean useFastPath, Delegate d, Object[] args)
at System.Windows.Threading.DispatcherSynchronizationContext.Send(SendOrPostCallback d, Object state)
at Microsoft.EnterpriseManagement.Presentation.DataAccess.AsyncDataCommandBase`2.CompleteCommand(Object sender, AsyncDataCommandCompletedEventArgs`1 e)
at Microsoft.EnterpriseManagement.Presentation.DataAccess.DataGatewayBase.CompleteAsyncDataCommandWithError(AsyncDataCommand command, Exception exception)
at Microsoft.EnterpriseManagement.Presentation.DataAccess.ProxyDataGateway.ProxyExecuteCompletedHandler(Object sender, ExecuteCompletedEventArgs e)
at Microsoft.EnterpriseManagement.Presentation.DataAccess.Proxy.ServiceReference.DataAccessServiceClient.OnExecuteCompleted(Object state)
- Edited by Foothill1 14 hours 48 minutes ago