Jon Lamb
asked on
Exchange 2010 to 2013 Public Folder Migration - MaxEnvelopeSize error on migration request
I’m attempting to move my Exchange 2010 Public Folders over to our new Exchange 2013 server.
I’m following these guides … https://supertekboy.com/2014/10/13/2013-public-folder-migration-made-easy/ and also https://practical365.com/exchange-server/exchange-server-2010-2013-migration-moving-public-folders/
I’m running into this error on the Exchange 2013 management shell when I start the migration request …
I’ve googled it and I’ve increased the MaxEnvelopeSize in the Win-RM on both servers and also in the below paths
C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Po werShell\w eb.config on source server
C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Po werShell\w eb.config on destination server
And restarted the servers afterwards
I’ve played about with the MaxEnvelopeSize and initially increased it to 8192 everywhere and then went up as high as 32768. Does it need to be even higher?
Can anyone tell me where I’m going wrong?
I’m following these guides … https://supertekboy.com/2014/10/13/2013-public-folder-migration-made-easy/ and also https://practical365.com/exchange-server/exchange-server-2010-2013-migration-moving-public-folders/
I’m running into this error on the Exchange 2013 management shell when I start the migration request …
[PS] C:\pfmigration>New-PublicF olderMigra tionReques t -SourceDatabase (Get-PublicFolderDatabase -Server server) -CSVData
(Get-Content C:\PFMigration\FolderToMai lbox.csv -Encoding Byte) -AcceptLargeDataLoss -BadItemLimit 100
Starting a command on the remote server failed with the following error message : The WinRM client sent a request to
the remote WS-Management service and was notified that the request size exceeded the configured MaxEnvelopeSize quota.
For more information, see the about_Remote_Troubleshooti ng Help topic.
+ CategoryInfo : OperationStopped: (server1.mydomain.local:St ring) [], PSRemotingTransportExcepti
on
+ FullyQualifiedErrorId : JobFailure
+ PSComputerName : server1.mydomain.local
(Get-Content C:\PFMigration\FolderToMai
Starting a command on the remote server failed with the following error message : The WinRM client sent a request to
the remote WS-Management service and was notified that the request size exceeded the configured MaxEnvelopeSize quota.
For more information, see the about_Remote_Troubleshooti
+ CategoryInfo : OperationStopped: (server1.mydomain.local:St
on
+ FullyQualifiedErrorId : JobFailure
+ PSComputerName : server1.mydomain.local
I’ve googled it and I’ve increased the MaxEnvelopeSize in the Win-RM on both servers and also in the below paths
C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Po
C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Po
And restarted the servers afterwards
I’ve played about with the MaxEnvelopeSize and initially increased it to 8192 everywhere and then went up as high as 32768. Does it need to be even higher?
Can anyone tell me where I’m going wrong?
Are you providing correct csv.file name, once check it.
While setting Max Envelope size Kb did you run the CMD with administrative authority ,as the configuration remained unchanged.
You could also refer http://msdn.microsoft.com/en-us/library/windows/desktop/ee309364(v=vs.85).aspx
Delete (in the desktop machine):
HKCU\Software\Microsoft\Ex changeserv er\v14\Adm inTools\No deStructur eSettings delete the value NodeStructureSettings
I read this solution here: https://social.technet.microsoft.com/Forums/exchange/en-US/5858ca8e-5aa1-4a5b-bb83-4ad5dc8a3924/exchange-2010-error?forum=exchange2010
Also get help from this article for Public folder migration.
Hope this helps!
While setting Max Envelope size Kb did you run the CMD with administrative authority ,as the configuration remained unchanged.
You could also refer http://msdn.microsoft.com/en-us/library/windows/desktop/ee309364(v=vs.85).aspx
Delete (in the desktop machine):
HKCU\Software\Microsoft\Ex
I read this solution here: https://social.technet.microsoft.com/Forums/exchange/en-US/5858ca8e-5aa1-4a5b-bb83-4ad5dc8a3924/exchange-2010-error?forum=exchange2010
Also get help from this article for Public folder migration.
Hope this helps!
ASKER
Jian An Lim - the file size are below. The Get-Content C:\PFMigration\FolderToMai lbox.csv outputs the contents of the file correctly.
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 18/03/2017 09:54 25852 Create-PublicFolderMailbox esForMigra tion.ps1
-a--- 18/03/2017 09:54 2876 CreatePublicFolderMailboxe sForMigrat ion.string s.psd1
-a--- 18/03/2017 09:54 21033 Export-PublicFolderStatist ics.ps1
-a--- 18/03/2017 09:54 1526 Export-PublicFolderStatist ics.string s.psd1
-a--- 18/03/2017 10:13 5384 FolderToMailbox.csv
-a--- 18/03/2017 10:03 1544252 PublicFolderStats.csv
-a--- 18/03/2017 09:54 20090 PublicFolderToMailboxMapGe nerator.ps 1
-a--- 18/03/2017 09:54 1042 PublicFolderToMailboxMapGe nerator.st rings.psd1
Kevin k I've tried changing the command so it uses an incorrect file name and I get a file not found error so it looks as though its using the correct one.
The Win-RM was run as cmd with admin rights. If I check the config, its currently showing 102400 on both servers. I've also deleted that registry setting and added the maxenvelope size into the powershell web.config.
Unfortunately that last article is for 2016 as far as I can tell.
Thanks for your input all, I'd be grateful for any more things I can try.
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 18/03/2017 09:54 25852 Create-PublicFolderMailbox
-a--- 18/03/2017 09:54 2876 CreatePublicFolderMailboxe
-a--- 18/03/2017 09:54 21033 Export-PublicFolderStatist
-a--- 18/03/2017 09:54 1526 Export-PublicFolderStatist
-a--- 18/03/2017 10:13 5384 FolderToMailbox.csv
-a--- 18/03/2017 10:03 1544252 PublicFolderStats.csv
-a--- 18/03/2017 09:54 20090 PublicFolderToMailboxMapGe
-a--- 18/03/2017 09:54 1042 PublicFolderToMailboxMapGe
Kevin k I've tried changing the command so it uses an incorrect file name and I get a file not found error so it looks as though its using the correct one.
The Win-RM was run as cmd with admin rights. If I check the config, its currently showing 102400 on both servers. I've also deleted that registry setting and added the maxenvelope size into the powershell web.config.
Unfortunately that last article is for 2016 as far as I can tell.
Thanks for your input all, I'd be grateful for any more things I can try.
ASKER
Just an update to this. I think I will have to resort to a 3rd party chargable utility to transfer the public folders over.
Any recommendations?
Any recommendations?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Answered, no further question from author. Please post back if you need further assistance.
also make sure the command is working
Get-Content C:\PFMigration\FolderToMai