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

Article ID: 951267 – Last Review: November 20, 2008 – Revision: 1.0

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

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 2007 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:

953467   (/Feedback.aspx?kbNumber=953467/ ) Description of Update Rollup 5 for Exchange Server 2007 Service Pack 1

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 (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  (/Feedback.aspx?kbNumber=833340/ ) How to modify the appearance and the functionality of Outlook Web Access by using the segmentation feature in Exchange 2003

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

 

Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image