Print View

Provisioning Server Console Snap-in crashes when creating or updating Active Dirctory accounts for devices

Issue

When using Active Directory | Create Machine Account... from the context menu of a device the Provisioning Server Console Snap-in crashes with the following error:

Unhandled Exception in Managed Code Snap-in
FX:{d4362548-2b4a-4f95-91b1-4f813d7b18e7}
Exception has been thrown by the target of an invocation
Exception Type: System.Reflection.TargetInvocationException
Exception stack trace:
Server stack trace:
at Microsoft.ManagementConsole.Internal.SnapInMessagePumpProxy.OnThreadException(Object sender, ThreadExceptionEventArgs e)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at Microsoft.ManagementConsole.Internal.ConsoleDialogHost.ShowDialog(WaitCursor waitCursor, ShowDialogCallback callback)
at Microsoft.ManagementConsole.Internal.ConsoleDialogHost.ShowDialog(Form form, WaitCursor waitCursor)
at Microsoft.ManagementConsole.Advanced.Console.ShowDialog(Form form)
at EMCObjects.EMCViewObject.ShowDialog(EMForm theDialog)
at EMCObjects.DeviceEMCO.doAction(Boolean useView, SyncAction action)
at EMCObjects.DeviceEMCO.OnSyncAction(SyncAction action)
at EnterpriseManager.LeafView.OnSyncSelectionAction(SyncAction action, SyncStatus status)
at Microsoft.ManagementConsole.View.DoAction(Int32 actionId, Boolean selectionDependent, Int32 selectionId, IRequestStatus requestStatus)
at Microsoft.ManagementConsole.View.ProcessRequest(Request request)
at Microsoft.ManagementConsole.ViewMessageClient.ProcessRequest(Request request)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.ManagementConsole.Internal.IMessageClient.ProcessRequest(Request request)
at Microsoft.ManagementConsole.Executive.RequestStatus.BeginRequest(IMessageClient messageClient, RequestInfo requestInfo)
at Microsoft.ManagementConsole.Executive.SnapInRequestOperation.ProcessRequest()
at Microsoft.ManagementConsole.Executive.Operation.OnThreadTransfer(SimpleOperationCallback callback)

Resolution

To resolve this issue:

- Uninstall the Provisioning Server Console
- Delete the "C:\Program Files\Citrix\Provisioning Server Console" folder
- Reinstall the Provisioning Server Console from the \PVS5.0.1a\PVSSRV_Console.exe package.

The actual files that had not upgraded successfully are:

- log4net.dll
- microsoft.managementconsole.dll
- MMCFxCommon.dll

Also, uninstalling the Internet Explorer Enhanced Security Configuration may assist in resolving the issue.

Products

Citrix Provisioning Server 5.0.1 SP1a

Created: 13th January 2009
Updated: 13th January 2009

Print View

© 2005-2024 Jamie Morrison