The System Center Service Manager console crashes when creating a Knowledge Article

Article ID: 2703129 - View products that this article applies to.
Expand all | Collapse all

Symptoms

When a  new Knowledge Article is created in System Center Service Manager 2010 on a remote console installed on a Spanish version of Windows XP Service Pack 3 (SP3), when you click ‘OK’ to save this article, the Service Manager console crashes with the following exception:

System.Reflection.TargetInvocationException: Se produjo una excepción en el destino de la invocación. ---> System.Reflection.TargetInvocationException: Se produjo una excepción en el destino de la invocación. ---> System.Windows.Markup.XamlParseException: No se puede crear una instancia de 'LocaleIDPicker' en el ensamblado 'Microsoft.EnterpriseManagement.UI.SMControls, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Se produjo una excepción en el destino de la invocación. Error en el objeto 'CategoryStackPanel' en el archivo de marcado 'Microsoft.EnterpriseManagement.ServiceManager.KnowledgeManagement.Forms;V7.0.5000.0;component/allforms/knowledgeui.xaml'. ---> System.Reflection.TargetInvocationException: Se produjo una excepción en el destino de la invocación. ---> System.ArgumentException: Ya existe una entrada con la misma clave. en System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) en System.Collections.Generic.SortedList`2.Add(TKey key, TValue value) en Microsoft.EnterpriseManagement.UI.WpfControls.LocaleIDPicker..ctor() --- Fin del seguimiento de la pila de la excepción interna --- en System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) en System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) en System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) en System.Activator.CreateInstance(Type type, Boolean nonPublic) en System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(Type type, Int16 typeId, Boolean throwOnFail) --- Fin del seguimiento de la pila de la excepción interna --- en System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType) en System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException) en System.Windows.Markup.BamlRecordReader.ThrowExceptionWithLine(String message, Exception innerException) en System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(Type type, Int16 typeId, Boolean throwOnFail) en System.Windows.Markup.BamlRecordReader.GetElementAndFlags(BamlElementStartRecord bamlElementStartRecord, Object& element, ReaderFlags& flags, Type& delayCreatedType, Int16& delayCreatedTypeId) en System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(BamlElementStartRecord bamlElementRecord) en System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(BamlElementStartRecord bamlElementRecord) en System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord) en System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord) en System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() en System.Windows.Markup.TreeBuilder.Parse() en System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) en System.Windows.Application.LoadComponent(Object component, Uri resourceLocator) en Microsoft.EnterpriseManagement.ServiceManager.KnowledgeManagement.Forms.KnowledgeMainForm.InitializeComponent() en Microsoft.EnterpriseManagement.ServiceManager.KnowledgeManagement.Forms.KnowledgeMainForm..ctor() --- Fin del seguimiento de la pila de la excepción interna --- en System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) en System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) en System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) en System.Activator.CreateInstance(Type type, Boolean nonPublic) en Microsoft.EnterpriseManagement.UI.FormsInfra.FormViewController.CreateForm(String assemblyName, String typeName) en Microsoft.EnterpriseManagement.UI.FormsInfra.FormViewController.CreateFormFromConfiguration(XPathNavigator configNav) en Microsoft.EnterpriseManagement.UI.FormsInfra.FormViewController.ParseConfiguration() en Microsoft.EnterpriseManagement.UI.FormsInfra.FormViewController.EndInit() en Microsoft.EnterpriseManagement.ServiceManager.UI.Console.FormViewController.EndInit() en Microsoft.EnterpriseManagement.ConsoleFramework.ComponentFactory.CreateComponentWithDefaultConstructor(ConstructorInfo constructor, IContainer parentContainer, String componentName, EventHandler`1 componentInitializeProcedure) en Microsoft.EnterpriseManagement.ConsoleFramework.ComponentFactory.CreateComponent(Type componentType, IContainer parentContainer, String componentName, EventHandler`1 componentInitializeProcedure) en Microsoft.EnterpriseManagement.ConsoleFramework.FrameworkServices.ServiceTableRecord.CreateComponent(Type componentType, String componentName, EventHandler`1 componentInitializeProcedure) en Microsoft.EnterpriseManagement.ConsoleFramework.ViewConstructor.CreateViewController(Object parent, Object view, Type controllerType) en Microsoft.EnterpriseManagement.ConsoleFramework.ViewConstructor.BeginShow(ShowViewContext showViewContext, AsyncCallback callback, Object state) en Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWpfViewConstructor.CreateNonRecyclableView(ShowViewContext showViewContext) en Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWpfViewConstructor.CreateAndShowViewCore(ShowViewContext showViewContext) en Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWpfViewConstructor.ShowViewOperation.Begin(ShowViewContext showViewContext) en Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWpfViewConstructor.BeginShow(ShowViewContext showViewContext, AsyncCallback callback, Object state) en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteOpenViewTaskStep.BeginDoStep(AsyncCallback callback, Object state) en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteNodeTask.StepExecutionFrame.BeginStep(Action`2 completedCallback) en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteNodeTask.BeginNextStep() en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteNodeTask.ContinueExecution() en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteNodeTask.StepCompleted(StepExecutionFrame frame, IAsyncResult result) en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteNodeTask.StepExecutionFrame.StepCompleted(IAsyncResult ar) en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteOpenLinkStep.OnEndExecuteLinkedNodeTask(IAsyncResult result) en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteNodeTask.NotifyExecutionCompleted() en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteNodeTask.ContinueExecution() en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteNodeTask.StepCompleted(StepExecutionFrame frame, IAsyncResult result) en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteNodeTask.StepExecutionFrame.StepCompleted(IAsyncResult ar) en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteOpenLinkStep.OnEndExecuteLinkedNodeTask(IAsyncResult result) en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteNodeTask.NotifyExecutionCompleted() en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteNodeTask.ContinueExecution() en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteNodeTask.StepCompleted(StepExecutionFrame frame, IAsyncResult result) en Microsoft.EnterpriseManagement.ConsoleFramework.ExecuteNodeTask.StepExecutionFrame.StepCompleted(IAsyncResult ar) en Microsoft.EnterpriseManagement.ConsoleFramework.WindowManager.WindowRecord.IndicateShowWindowCompleted() en Microsoft.EnterpriseManagement.ConsoleFramework.WindowManager.WpfWindowRecord.OnApplicationIdle(Object sender, EventArgs e) --- Fin del seguimiento de la pila de la excepción interna --- en System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) en System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) en System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) en System.Delegate.DynamicInvokeImpl(Object[] args) en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) en System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) en System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) en System.Windows.Threading.DispatcherOperation.InvokeImpl() en System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) en System.Threading.ExecutionContext.runTryCode(Object userData) en System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) en System.Windows.Threading.DispatcherOperation.Invoke() en System.Windows.Threading.Dispatcher.ProcessQueue() en System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) en MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) en MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) en System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) en System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) en System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter) en System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg) en MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) en MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) en System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) en System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) en System.Windows.Window.ShowHelper(Object booleanBox) en System.Windows.Window.Show() en System.Windows.Window.ShowDialog() en Microsoft.EnterpriseManagement.ConsoleFramework.WindowManager.GenericWpfWindowConstructor.BeginShow(ShowViewContext showViewContext, Object parent, Object view, AsyncCallback callback, Object state) en Microsoft.EnterpriseManagement.ConsoleFramework.ViewConstructor.BeginShow(ShowViewContext showViewContext, AsyncCallback callback, Object state) en Microsoft.EnterpriseManagement.ConsoleFramework.WindowManager.GenericWpfWindowConstructor.ShowWindowCore(ShowViewContext showViewContext) en Microsoft.EnterpriseManagement.ConsoleFramework.WindowManager.WpfWindowRecord.ShowWindow() en System.Threading.ThreadHelper.ThreadStart_Context(Object state) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) en System.Threading.ThreadHelper.ThreadStart()


Under the Applications Event log, an error message (5000) is also logged:

Descripción:EventType clr20r3, P1 miisdoylp4janzlhyczwcu3fx1qy0rnk, P2 7.0.5000.0, P3 4cda301b, P4 mscorlib, P5 2.0.0.0, P6 4e154d36, P7 f4f, P8 7, P9 n3ctrye2kn3c34sgl4zqyrbfte4m13nb, P10 NIL.Para obtener más información, vea el Centro de ayuda y soporte técnico en http://go.microsoft.com/fwlink/events.asp.Datos:0000: 63 00 6c 00 72 00 32 00 c.l.r.2.0008: 30 00 72 00 33 00 2c 00 0.r.3.,.0010: 20 00 6d 00 69 00 69 00 .m.i.i.0018: 73 00 64 00 6f 00 79 00 s.d.o.y.0020: 6c 00 70 00 34 00 6a 00 l.p.4.j.0028: 61 00 6e 00 7a 00 6c 00 a.n.z.l.0030: 68 00 79 00 63 00 7a 00 h.y.c.z.0038: 77 00 63 00 75 00 33 00 w.c.u.3.0040: 66 00 78 00 31 00 71 00 f.x.1.q.0048: 79 00 30 00 72 00 6e 00 y.0.r.n.0050: 6b 00 2c 00 20 00 37 00 k.,. .7.0058: 2e 00 30 00 2e 00 35 00 ..0...5.0060: 30 00 30 00 30 00 2e 00 0.0.0...0068: 30 00 2c 00 20 00 34 00 0.,. .4.0070: 63 00 64 00 61 00 33 00 c.d.a.3.0078: 30 00 31 00 62 00 2c 00 0.1.b.,.0080: 20 00 6d 00 73 00 63 00 .m.s.c.0088: 6f 00 72 00 6c 00 69 00 o.r.l.i.0090: 62 00 2c 00 20 00 32 00 b.,. .2.0098: 2e 00 30 00 2e 00 30 00 ..0...0.00a0: 2e 00 30 00 2c 00 20 00 ..0.,. .00a8: 34 00 65 00 31 00 35 00 4.e.1.5.00b0: 34 00 64 00 33 00 36 00 4.d.3.6.00b8: 2c 00 20 00 66 00 34 00 ,. .f.4.00c0: 66 00 2c 00 20 00 37 00 f.,. .7.00c8: 2c 00 20 00 6e 00 33 00 ,. .n.3.00d0: 63 00 74 00 72 00 79 00 c.t.r.y.00d8: 65 00 32 00 6b 00 6e 00 e.2.k.n.00e0: 33 00 63 00 33 00 34 00 3.c.3.4.00e8: 73 00 67 00 6c 00 34 00 s.g.l.4.00f0: 7a 00 71 00 79 00 72 00 z.q.y.r.00f8: 62 00 66 00 74 00 65 00 b.f.t.e.0100: 34 00 6d 00 31 00 33 00 4.m.1.3.0108: 6e 00 62 00 20 00 4e 00 n.b. .N.0110: 49 00 4c 00 0d 00 0a 00 I.L.....


Cause

The issue occurs because when Windows XP SP3 was localized for the Spanish language, there was a mistake made in the entry for Sami (Southern) (Norway) (LCID = 6203). This was localized to Spanish as Sami septentrional (Noruega). Sami septentrional (Noruega) already exists and translates to Sami (Northern) (Norway) with LCID = 1083. LCID should have been translated as Sami Meridional (Noruega). Because LocaleIdPicker uses the DisplayName (which is the localized name of the language), it attempts to insert 'Sami septentrional (Noruega) as the key twice and hits the duplicate entry exception.

Resolution

On the affected computer, back up the registry, then delete the value 0000183b from the following registry location:

HKLM\System\CCS\Control\Nls\Locale

Properties

Article ID: 2703129 - Last Review: January 22, 2013 - Revision: 2.0
Applies to
  • Microsoft System Center Service Manager 2010
Keywords: 
kbmbsservicesmanagement KB2703129

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com