none
WIndows Server 2012 故障转移群集配置报错 RRS feed

  • 问题

  • 场景:

    2台Server 2012建了故障转移群集. 当其中一台关机后, 在故障转移群集管理器中配置角色时 报错如下:

    ---------------------------
    错误
    ---------------------------
    创建了一个弱事件,但它位于错误对象上,因此发生故障的几率很高。请查看并更改你的代码以防止发生此问题

       在 MS.Internal.FailoverClusters.Framework.WeakEvent.WeakEventCallback.MethodTarget..ctor(Object target, MethodInfo method)

       在 MS.Internal.FailoverClusters.Framework.WeakEvent.WeakEventCallback.Add(Object target, MethodInfo targetMethod)

       在 System.Windows.Input.CanExecuteChangedEventManager.PrivateAddHandler(ICommand source, EventHandler`1 handler)

       在 System.Windows.Documents.Hyperlink.HookCommand(ICommand command)

       在 System.Windows.Documents.Hyperlink.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

       在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

       在 System.Windows.FrameworkContentElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

       在 System.Windows.Documents.TextElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

       在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

       在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

       在 System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)

       在 System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)

       在 System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)

       在 MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)

       在 MS.Internal.Data.PropertyPathWorker.OnDependencyPropertyChanged(DependencyObject d, DependencyProperty dp, Boolean isASubPropertyChange)

       在 System.Windows.Data.BindingExpression.HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)

       在 System.Windows.Data.BindingExpressionBase.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)

       在 System.Windows.Data.BindingExpression.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)

       在 System.Windows.DependentList.InvalidateDependents(DependencyObject source, DependencyPropertyChangedEventArgs sourceArgs)

       在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

       在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

       在 System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)

       在 Microsoft.FailoverClusters.ClusterSnapIn.WpfViewHostControl`2.InitializationDone()

       在 Microsoft.FailoverClusters.ClusterSnapIn.WpfViewHostControl`2.<OnCreateControl>b__0()

       在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

       在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

       在 System.Delegate.DynamicInvokeImpl(Object[] args)

       在 System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)

       在 System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)

       在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

       在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

       在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

       在 System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)

       在 System.Windows.Forms.Control.InvokeMarshaledCallbacks()

       在 System.Windows.Forms.Control.WndProc(Message& m)

       在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

       在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

       在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

       在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)

       在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

       在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

       在 Microsoft.ManagementConsole.Internal.SnapInMessagePumpProxy.Microsoft.ManagementConsole.Internal.ISnapInMessagePumpProxy.Run()

    ---------------------------
    确定  
    ---------------------------

    点确定后,再次点击配置角色, 弹出操作对话框, 进度条一直在移动 , 请求协助.

    2013年1月16日 9:21

答案

全部回复