Solved

Errors Importing PST files into Exchange 2010

Posted on 2012-03-21
13
995 Views
Last Modified: 2012-05-19
I have circa 200 PST files that I am trying to import to an Exchange 2010 server. I am receiving a lot of "Couldn't connect to the target mailbox" errors both when i create the Import Requests and when I try to resume failed ones. When i was creating the requests I would start getting the error, then wait a few minutes and try again, in which case things would work for a little bit, then i would get the error again. It looks as if there is a limit how many requests i can have so the few first ones run, then the subsequent ones fail. We are not having a CAS Array, this is a single-server installation. Any ideas? I include the exact error below. Thanks!

Couldn't connect to the target mailbox.
    + CategoryInfo          : NotSpecified: (60:Int32) [Resume-MailboxImportRequest], RemotePermanentException
    + FullyQualifiedErrorId : 86B989C,Microsoft.Exchange.Management.RecipientTasks.ResumeMailboxImportRequest
0
Comment
Question by:criskrit
  • 7
  • 5
13 Comments
 
LVL 17

Expert Comment

by:James Haywood
ID: 37768635
Have you tried the PST import tool from Microsoft?

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=28767
0
 

Author Comment

by:criskrit
ID: 37768794
The problem seems related to a limit of maximum simultaneous Import Requests. Is there a way to specify/change this? Also is it possible to specify limits for Active and Queued Import Requests? I wouldn't want to have too many Active requests (too much load on the server) but i would like to be able to Queue all 200+ Import Requests so that i don't have to check back every few minutes. thanks!
0
 
LVL 17

Accepted Solution

by:
James Haywood earned 150 total points
ID: 37770075
This file 'C:\Program Files\Microsoft\Exchange Server\V14\Bin\MSExchangeMailboxReplication.exe.config' contains the settings:

Maxactivemovespersourcemdb = 5
Maxactivemovespertargetmdb=2
Maxactivemovespersourceserver=50
Maxactivemovespertargetserver=5
Maxtotalmovespermrs=100

These throttle the amount you can do at any one time. You can edit the settings to increase the throughput.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:criskrit
ID: 37772245
unfortunately i have already done this and it doesn't seem to work. I have setup 50 active requests but the server will not accept more than 20. Also this still doesn't queue the non-active ones... :-(
Any (other) ideas?
0
 
LVL 17

Expert Comment

by:James Haywood
ID: 37772254
What settings have you tried with this file?
0
 

Author Comment

by:criskrit
ID: 37774317
here is the full thing:

<MRSConfiguration
    MaxRetries = "60"
    MaxCleanupRetries = "5"
    MaxStallRetryPeriod = "00:15:00"
    RetryDelay = "00:00:30"
    MaxMoveHistoryLength = "100"
    MaxActiveMovesPerSourceMDB = "50"
    MaxActiveMovesPerTargetMDB = "50"
    MaxActiveMovesPerSourceServer = "50"
    MaxActiveMovesPerTargetServer = "50"
    MaxTotalMovesPerMRS = "500"
    FullScanMoveJobsPollingPeriod = "00:10:00"
    MinimumTimeBeforePickingJobsFromSameDatabase = "00:00:04"
    ServerCountsNotOlderThan = "00:10:00"
    MRSAbandonedMoveJobDetectionTime = "01:00:00"
    BackoffIntervalForProxyConnectionLimitReached = "00:30:00"
    DataGuaranteeCheckPeriod = "00:00:10"
    DataGuaranteeTimeout = "00:30:00"
    DataGuaranteeLogRollDelay = "00:01:00"
    EnableDataGuaranteeCheck = "true"
    DisableMrsProxyCompression = "false"
    DisableMrsProxyBuffering = "false"
    MinBatchSize = "100"
    MinBatchSizeKB = "256" />
0
 
LVL 17

Expert Comment

by:James Haywood
ID: 37778600
Can you show the command/script you are using? thanks
0
 

Author Comment

by:criskrit
ID: 37779403
I am grouping PST by first initial, so the following repeats for all letters of the alphabet:

Dir \\mailseiu1\OST-to-PST\PSTs\import_pending\a*.pst | %{ New-MailboxImportRequest -Name PSTimport_A -BatchName ImportPstFiles -BadItemLimit 50 -Mailbox $_.BaseName -FilePath $_.FullName}
0
 

Author Comment

by:criskrit
ID: 37883931
any more suggestions on this?
0
 
LVL 17

Expert Comment

by:James Haywood
ID: 37898781
Sorry I've been waiting for an Exchange Admin friend to get back to me. The only other suggestion is to run the imports in batches of 10
0
 

Assisted Solution

by:criskrit
criskrit earned 0 total points
ID: 37920860
i ended up importing the PSTs in batches of 20 (this seems to be the max) and i wrote a ps1 script where i spaced out the imports with "wait" commands in order to give time for previous imports to complete. A bit primitive but it works.

if there are no suggestions then i will close this question. Not sure how/where to award it, this looks more like a bug in Exchange config...
0
 

Author Closing Comment

by:criskrit
ID: 37987663
The Expert's comment is in the right direction but doesn't really resolve the issue as this seems like a glitch in the Exchange configuration as mentioned in my last comment along with the workaround i used.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
In-place Upgrading Dirsync to Azure AD Connect
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question