Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

Symptoms

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:
Ststem.Management.Automation.PSInvalidCastException

Exception Message: Cannot convert value "fixe.com/Users/DG1" to type "Microsoft.Exchange.Data.Directory.ADObjectId". Error: the string "five.com/Users/DG1" 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)

↑ Back to the top


Resolution

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:

↑ Back to the top


More information

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

↑ Back to the top


Keywords: KB951267, kbhotfixrollup, kbfix, atdownload, kbexpertiseinter, kbarchive, kbnosurvey

↑ Back to the top

Article Info
Article ID : 951267
Revision : 2
Created on : 1/16/2015
Published on : 1/16/2015
Exists online : False
Views : 387