PSIcapture Migration: SharePoint error message - message too large

Problem:

Migration: SharePoint
Error: The request message is too big. The server does not allow messages larger than 2097152.

Solution:

There are two ways to accomplish this through Powershell command and editing the web.config file under IIS.

PowerShell Command:

PS C:\Users\administrator.PSIGEN $ws=[Microsoft.SharePoint.Administration.SPWebService]::ContentService
PS C:\Users\administrator.PSIGEN $ws.ClientRequestServiceSettings.MaxReceivedMessageSize=2147483647
PS C:\Users\administrator.PSIGEN $ws.Update()
PS C:\Users\administrator.PSIGEN $ws.ClientRequestServiceSettings.MaxParseMessageSize=2147483647

PS C:\Users\administrator.PSIGEN $ws.Update()

After this has been entered into the PowerShell you will need to run iisreset in CMD. If the customer cannot iisreset they need to manually edit the IIS webconfig.

IIS Directory: wwwroot/wss/virtualdirectories/80/

  1. Edit the web.config for the sharepoint server
  2. Under
  3. Check attribute
  4. Desired Attribute: maxRequestLength
  5. Make sure they're set to 2147483647
  6. Example: maxRequestLength="2147483647" requestLengthDiskThreshold="2147483647" executionTimeout="18000"/



Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.