An exception occurs in Exchange Management Console when you preview AddressList in an Exchange Server 2007 environment

This article has been archived. It is offered "as is" and will no longer be updated.
In an Exchange 2007 environment, you can use the -RecipientFilter parameter to define the criteria that you use to create custom dynamic distribution groups, e-mail address policies, address lists, or global address lists (GALs). However, if you use the -RecipientFilter parameter together with the MemberOfGroup attribute, and then you preview the result in Exchange Management Console, the snap-in crashes because of an unhandled exception. Additionally, you receive an error message that resembles the following error message:
This snap-in performed a non-valid operation and has been unloaded. To continue working with this snap-in, restart MMC or try loading the snap-in again.

Exception Type:

Exception Message: Cannot convert value "" to type "Microsoft.Exchange.Data.Directory.ADObjectId". Error: the string "" does not represent a valid distinguiched name."
at System.Management.Automation.LanguagePrimitives.IsConstructorTypeConversion(Object valueToConvert, Type originalType, Type resultType, Object& result)
at System.Management.Automation.LanguagePrimitives.ConvertTo(Object valueToConvert, Type resultType, Boolean recursion, IFormatProvider formatProvider)
at Microsoft.Exchange.Configuration.Tasks.Task.ConvertValueFromString(Object valueToConvert, Type resultType)
at Microsoft.Exchange.Data.QueryParser.CreateRelationalExpression(ComparisonOperator op, String prop, Object val, Boolean useWildchars)
at Microsoft.Exchange.Data.QueryParser.yyparse() at Microsoft.Exchange.Data.QueryParser..ctor(String query, ObjectSchema schema, Capabilities capabilities, EvaluateVariableDelegate evalDelegate, ConvertValueFromStringDelegate convertDelegate)
at Microsoft.Exchange.Configuration.Tasks.MonadFilter..ctor(String filterText, PSCmdlet cmdlet, ObjectSchema schema, Capabilities capabilities)
at Microsoft.Exchange.Configuration.Tasks.MonadFilter..ctor(String filterText, PSCmdlet cmdlet, ObjectSchema schema)
at Microsoft.Exchange.Management.SnapIn.Esm.Recipients.RecipientFilterControl.OnPreview(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Download and install Update Rollup 5 for Exchange 2007 Service Pack 1.

For more information about Update Rollup 5 for Exchange Server 2007 Service Pack 1, see the following Exchange Help topic: For more information about how to obtain the latest Exchange service pack or update rollup, see the following Exchange Help topic:
For more information about the filterable properties for the -RecipientFilter parameter in Exchange 2007 SP1, visit the following Microsoft Web site: For more information, click the following article number to view the article in the Microsoft Knowledge Base:
833340 How to modify the appearance and the functionality of Outlook Web Access by using the segmentation feature in Exchange 2003
MemberOfGroup RecipientFilter

Article ID: 951267 - Last Review: 01/16/2015 02:27:26 - Revision: 1.1

  • Microsoft Exchange Server 2007 Service Pack 1
  • kbnosurvey kbarchive kbexpertiseinter atdownload kbfix kbhotfixrollup KB951267