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

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

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)

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:
Description of Update Rollup 5 for Exchange Server 2007 Service Pack 1
For more information about how to obtain the latest Exchange service pack or update rollup, see the following Exchange Help topic:
How to Obtain the Latest Service Pack or Update Rollup for Exchange 2007

MORE INFORMATION

For more information about the filterable properties for the -RecipientFilter parameter in Exchange 2007 SP1, visit the following Microsoft Web site:
http://technet.microsoft.com/en-us/library/bb738157(EXCHG.80).aspx
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

Properties

Article ID: 951267 - Last Review: November 20, 2008 - Revision: 1.1
APPLIES TO
  • Microsoft Exchange Server 2007 Service Pack 1, when used with:
    • Microsoft Exchange Server 2007 Enterprise Edition
    • Microsoft Exchange Server 2007 Standard Edition
Keywords: 
kbexpertiseinter atdownload kbfix kbhotfixrollup KB951267

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