Exchange 2010 SP2 – MailboxRestoreRequest – ROP Error: 0x80070057 – (hr=0x80070057, ec=-2147024809) – Rule: Condition: Restriction


25.01.2013

I had a problem to do restore for a mailbox in recovery database. I used for restoring CMDLET:

[PS] C:\>New-MailboxRestoreRequest -name Restore123c -TargetMailbox kasajfil -SourceDatabase db01rd -SourceStoreMailbox "Bond James" -BadItemLimit 100 -AllowLegacyDNMismatch -AcceptLargeDataLoss -TargetRootFolder "RESTORE-123c" -AssociatedMessagesCopyOption DoNotCopy -ConflictResolutionOption KeepLatestItem -IncludeFolders "#Inbox#/*"

Related mailbox request always failed with ERROR:

QueuedTimestamp               : 25.1.2013 1:58:39StartTimestamp                : 25.1.2013 2:03:54
LastUpdateTimestamp           : 25.1.2013 2:04:04
OverallDuration               : 00:08:14
TotalFailedDuration           : 00:02:49
TotalQueuedDuration           : 00:05:14
TotalInProgressDuration       : 00:00:09
EstimatedTransferSize         : 39.48 MB (41,402,933 bytes)
EstimatedTransferItemCount    : 1712
BytesTransferred              : 27.85 MB (29,198,166 bytes)
ItemsTransferred              : 162
PercentComplete               : 69
FailureCode                   : -2147024809
FailureType                   : MapiExceptionInvalidParameter
FailureSide                   : Target
Message                       : Error: MapiExceptionInvalidParameter: Unable to modify table. (hr=0x80070057, ec=-2147024809)
                                Diagnostic context:
                                    Lid: 55847   EMSMDBPOOL.EcPoolSessionDoRpc called [length=228]
                                    Lid: 43559   EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=324][latency=0]
                                    Lid: 23226   --- ROP Parse Start ---
                                    Lid: 27962   ROP: ropModifyRules [65]
                                    Lid: 17082   ROP Error: 0x80070057
                                    Lid: 27745
                                    Lid: 21921   StoreEc: 0x80070057
                                    Lid: 27962   ROP: ropExtendedError [250]
                                    Lid: 1494    ---- Remote Context Beg ----
                                    Lid: 26426   ROP: ropModifyRules [65]
                                    Lid: 23921   StoreEc: 0x3EC
                                    Lid: 21970   StoreEc: 0x8004010F PropTag: 0x668F0040
                                    Lid: 21970   StoreEc: 0x8004010F PropTag: 0x668F0040
                                    Lid: 21970   StoreEc: 0x8004010F PropTag: 0x67F60040
                                    Lid: 21970   StoreEc: 0x8004010F PropTag: 0x67F60040
                                    Lid: 21970   StoreEc: 0x8004010F PropTag: 0x67F60040
                                    Lid: 48851
                                    Lid: 21970   StoreEc: 0x8004010F PropTag: 0x67F60040
                                    Lid: 51077   dwParam: 0x80000000
                                    Lid: 65267
                                    Lid: 40691
                                    Lid: 5559    StoreEc: 0x80070057
                                    Lid: 65015
                                    Lid: 65439
                                    Lid: 4302    StoreEc: 0x80070057
                                    Lid: 1750    ---- Remote Context End ----
                                    Lid: 26849
                                    Lid: 21817   ROP Failure: 0x80070057
                                    Lid: 29150
                                    Lid: 20446   StoreEc: 0x80070057
FailureTimestamp              : 25.1.2013 2:04:04
FailureContext                : --------
                                Operation: IDestinationFolder.SetRules
                                OperationSide: Target
                                Primary (9e7c5f65-9cdd-44d9-af51-d2b16b786157)
                                Rules: [Rule: Condition: Restriction: AND[OR[OR[]; AND[OR[AND[EXIST[ptag:SpamConfidenceLevel]; PROPERTY[ptag:SpamConf
                                idenceLevel, GreaterThan, val:[Tag:SpamConfidenceLevel, Value:-1(int)]]]; OR[]]; NOT[OR[OR[]; RECIPIENT[OR[]]]]]]; NO
                                T[OR[OR[]; RECIPIENT[OR[]]; OR[]]]]; Actions: [RuleAction: MOVE FolderEID:[len=46, data=0000000014B0B2477F158446A958E
                                9C98E4EFFB4010011065C8A5B249A4B8CA3A8B46ACF4451004C73DF00040000], StoreEID:[len=163, data=0000000038A1BB1005E5101AA1B
                                B08002B2A56C20000454D534D44422E444C4C00000000000000001B55FA20AA6611CD9BC800AA002FC45A0C000000616E7977686572652E737575
                                6C612E6669002F6F3D45582D4C4946452F6F753D45786368616E67652041646D696E6973747261746976652047726F7570202846594449424F484
                                632335350444C54292F636E3D526563697069656E74732F636E3D533533323200]; RuleAction: TAG [Tag:0x80850003(NamedProp), Value
                                :-1091397025(int)]]; Name 'Junk E-mail Rule'; Provider: 'JunkEmailRule'; ProviderData: 0100000000000000465E0C4E3C8DCD
                                01; ExecutionSequence: 0; Level: 0; StateFlags: 49; UserFlags: 0; IsExtended: True; Rule: Condition: none; Actions: [
                                RuleAction: OOFREPLY TemplateEID:null, TemplateGuid:78da9e7a-bd61-4fb8-8893-4a5dcc4f2cba, Flags:0]; Name 'MSFT:TDX OO
                                F Rules'; Provider: 'MSFT:TDX OOF Rules'; ProviderData: ; ExecutionSequence: 50; Level: 0; StateFlags: 141; UserFlags
                                : 2; IsExtended: False]
                                --------
                                Folder: '/Top of Information Store/Saapuneet', entryId [len=46, data=0000000014B0B2477F158446A958E9C98E4EFFB40100C53A
                                9267D96ADA4BB55D2D35A37F7B15004C72E2E5C40000], parentId [len=46, data=0000000014B0B2477F158446A958E9C98E4EFFB40100C53
                                A9267D96ADA4BB55D2D35A37F7B15004C72E2E5C10000]

Just for information:

  •  The folder  ‘/Top of Information Store/Saapuneet’ is Inbox folder another words.
  • MailboxRestoreRequest with -ExcludeFolder “Saapuneet” passed ok.

SOLUTION:

I used Restore-Mailbox instead of New-MailboxRestoreRequest based on tip from Joey Dekker and fortunately it solved my problem (without time specification as Joey advised).

[PS] C:\>Restore-Mailbox -Identity kasajfil -RecoveryDatabase db01rd -BadItemLimit 100  -TargetFolder RESTORE_123f -RecoveryMailbox "Bond James"MailboxSize                      : 2.054 GB (2,205,975,899 bytes)IsResourceMailbox                : False
Options                          : Default
TargetFolder                     : \RESTOREc\Recovered Data - Bond James - 01/25/2013 02:49:09
MoveType                         : Restore
MoveStage                        : Completed
StartTime                        : 25.1.2013 2:49:11
EndTime                          : 25.1.2013 3:07:36
StatusCode                       : 0
StatusMessage                    : This mailbox in the recovery database has been restored to the target user mailbox.
Advertisements

2 thoughts on “Exchange 2010 SP2 – MailboxRestoreRequest – ROP Error: 0x80070057 – (hr=0x80070057, ec=-2147024809) – Rule: Condition: Restriction

  1. I ran into the same problem, but I am restoring from a recovery database, so restore-mailbox is not an option. I ran the same command, but chose COPY instead of DONOTCOPY for AssociatedMessagesCopyOption and the command ran successfully.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s