The SMP console has stopped loading the Silverlight portion (Activity Center): ECV user settings load failed.

book

Article ID: 161472

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

The SMP console has stopped loading the Silverlight portion (Activity Center). All the other parts (Filters, Reports, Settings, etc.) work fine.

Below is the error that shows up four times every time I try to load the Silverlight portion of the console.

ECV user settings load failed. 
An unexpected exception has occured during CreateInstance. 
Assembly: Altiris.ActivityCenter, Version=7.5.1597.0, Culture=neutral, PublicKeyToken=6914135350bc86b7 
Type: Altiris.ActivityCenter.ECVConfigurationItem 
[Altiris.NS.AeXClassActivatorException @ Altiris.NS] 
at Altiris.NS.ClassActivator.CreateInstance(String assembly, String type, Object[] parameters) 
at Altiris.NS.ItemManagement.Item.CreateInstance(String strClassAssembly, String strClassType, Object[] parameters, Guid itemGuid) 
at Altiris.NS.ItemManagement.Item.GetItemInternal(Guid itemGuid, IEnumerable`1 accessPermissions, ItemLoadFlags itemLoadFlags) 
at Altiris.NS.ItemManagement.Item.GetItem[T](Guid itemGuid, IEnumerable`1 accessPermissions, ItemLoadFlags itemLoadFlags) 
at Altiris.NS.ItemManagement.Item.GetItem[T](Guid itemGuid) 
at Altiris.NS.Services.CoreServices.UIService.LoadUserSettings(String settingsGroup) 

Exception has been thrown by the target of an invocation. 
[System.Reflection.TargetInvocationException @ mscorlib] 
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) 
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) 
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) 
at System.Activator.CreateInstance(Type type, Boolean nonPublic) 
at Altiris.NS.ClassActivator.CreateInstance(String assembly, String type, Object[] parameters) 

Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401) 
[System.IO.FileLoadException @ Altiris.ActivityCenter] 
at Altiris.ActivityCenter.Settings.ECVUISettings..ctor() 
at Altiris.ActivityCenter.ECVConfigurationItem..ctor() 

Exception logged from: 
at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception, String footer) 
at Altiris.Diagnostics.Logging.EventLog.ReportException(String strMessage, Exception exception) 
at Altiris.NS.Services.CoreServices.UIService.LoadUserSettings(String settingsGroup) 
at SyncInvokeLoadUserSettings(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.ProcessMessage4(MessageRpc& rpc) 
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) 
at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext) 
at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext) 
at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result) 
at System.ServiceModel.Diagnostics.Utility.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) 
at System.ServiceModel.AsyncResult.Complete(Boolean completedSynchronously) 
at System.ServiceModel.Channels.InputQueue`1.AsyncQueueReader.Set(Item item) 
at System.ServiceModel.Channels.InputQueue`1.EnqueueAndDispatch(Item item, Boolean canDispatchOnThisThread) 
at System.ServiceModel.Channels.InputQueue`1.EnqueueAndDispatch(T item, ItemDequeuedCallback dequeuedCallback, Boolean canDispatchOnThisThread) 
at System.ServiceModel.Channels.InputQueueChannel`1.EnqueueAndDispatch(TDisposable item, ItemDequeuedCallback dequeuedCallback, Boolean canDispatchOnThisThread) 
at System.ServiceModel.Channels.SingletonChannelAcceptor`3.Enqueue(QueueItemType item, ItemDequeuedCallback dequeuedCallback, Boolean canDispatchOnThisThread) 
at System.ServiceModel.Channels.SingletonChannelAcceptor`3.Enqueue(QueueItemType item, ItemDequeuedCallback dequeuedCallback) 
at System.ServiceModel.Channels.HttpChannelListener.HttpContextReceived(HttpRequestContext context, ItemDequeuedCallback callback) 
at System.ServiceModel.Activation.HostedHttpTransportManager.HttpContextReceived(HostedHttpRequestAsyncResult result) 
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest() 
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequest(Object state) 
at System.ServiceModel.PartialTrustHelpers.PartialTrustInvoke(ContextCallback callback, Object state) 
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequestWithFlow(Object state) 
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.WorkItem.Invoke2() 
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.WorkItem.Invoke() 
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.ProcessCallbacks() 
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.CompletionCallback(Object state) 
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) 
at System.ServiceModel.Diagnostics.Utility.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped) 
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

Cause

The inner exception (loading this assembly would produce a different grant set...) told us that the CLR had loaded this assembly with a trust level incompatible with the current load attempt, or that the binaries were in different modes, IL vs native. The latter was very unlikely, but in either case, unloading previous instances from the CLR was needed.

Resolution

This issue should be addressed by: 1. Run IISRESET OR 2. Reboot server


Applies To

ITMS 7.5 SP1