Tag: SharePoint 2016

“The request message is too big. The server does not allow messages larger than 2097152 bytes.” error

Change the message limit to 2GB

$contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$settings = $contentService.ClientRequestServiceSettings
$settings.MaxReceivedMessageSize = 2147483647
$settings.MaxParseMessageSize = 2147483647
$contentService.Update()

Reset the settings

$contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$settings = $contentService.ClientRequestServiceSettings
$settings.MaxReceivedMessageSize = 0
$settings.MaxParseMessageSize = 0
$contentService.Update()

 

Advertisements

Configure User Profile Service Application in SharePoint 2016

$accountName = "CONTOSO\joeylicc"
$svcAppPoolName = "UserProfileServiceApplicationPool"
$svcAppName = "User Profile Service Application"
$dbServer = "{SERVER_NAME}\SHAREPOINT"
$profileDbName = "User_Profile"
$profileSyncDbName = "User_Profile_Sync"
$socialDbName = "User_Profile_Social"
$svcAppProxyName = "User Profile Service Application Proxy"

$account = Get-SPManagedAccount $accountName
$appPool = New-SPServiceApplicationPool -Name $svcAppPoolName -Account $account
$svcApp = New-SPProfileServiceApplication -Name $svcAppName -ProfileDBServer $dbServer -ProfileDBName $profileDbName -ProfileSyncDBServer $dbServer -ProfileSyncDBName $profileSyncDbName -SocialDBServer $dbSever -SocialDBName $socialDbName -ApplicationPool $appPool
New-SPProfileServiceApplicationProxy -Name $svcAppProxyName -ServiceApplication $svcApp

See Also

 

Configure Subscription Settings Service Application in SharePoint 2016

$accountName = "CONTOSO\joeylicc"
$svcAppPoolName = "SubscriptionSettingsServiceApplicationPool"
$svcAppName = "Subscription Settings Service Application"
$dbServer = "{SERVER_NAME}\SHAREPOINT"
$dbName = "SubscriptionSettings"

$account = Get-SPManagedAccount $accountName
$appPool = New-SPServiceApplicationPool -Name $svcAppPoolName -Account $account
$svcApp = New-SPSubscriptionSettingsServiceApplication -Name $svcAppName -DatabaseServer $dbServer -DatabaseName $dbName -ApplicationPool $appPool
New-SPSubscriptionSettingsServiceApplicationProxy -ServiceApplication $svcApp

See Also

Configure App Management Service Application in SharePoint 2016

$accountName = "CONTOSO\joeylicc"
$svcAppPoolName = "AppManagementServiceApplicationPool"
$svcAppName = "App Management Service Application"
$dbServer = "{SERVER_NAME}\SHAREPOINT"
$dbName = "AppManagement"
$svcAppProxyName = "App Management Server Application Proxy"

$account = Get-SPManagedAccount $accountName
$appPool = New-SPServiceApplicationPool -Name $svcAppPoolName -Account $account
$svcApp = New-SPAppManagementServiceApplication -Name $svcAppName -DatabaseServer $dbServer -DatabaseName $dbName -ApplicationPool $appPool
New-SPAppManagementServiceApplicationProxy -Name $svcAppProxyName -UseDefaultProxyGroup -ServiceApplication $svcApp

See Also

 

SharePoint Document Center Site

A Document Center site works for both of these scenarios.

  1. Authoring environment
  2. Content archive

Key Features

  • Metadata Navigation
    • Provides each list in the site with a settings pages for configuring that list to use metadata tree view hierarchies and filter controls to improve navigation and filtering of the contained items
    • Site settings > Site Collection Administration > Site Collection features > Metadata Navigation and Filtering
    • Default: Active
    • List Settings > General Settings > Metadata navigation settings
  • Document IDs
    • Assign IDs to document in the Site Collection, which can be used to retrieve items independent of their current location
    • Site settings > Site Collection Administration > Site Collection features > Document ID Service
    • Default: Active
    • Site settings > Site Collection Administration > Document ID settings
  • Document Versions
    • List Settings > General Settings > Versioning settings
    • Default: Create major versions
    • Default: Keep 500 major versions
  • Content Types
    • List Settings > General Settings > Advanced settings
    • Default: Allow management of content types?
    • List Settings > Content Types
    • Default: 1) Document, 2) Link to a Document &  3) Document Set
  • Content Organizer
    • Create metadata based rules that move content submitted to this site to the correct library or folder
    • Site settings > Site Collection Administration > Site Collection features > Content Organizer
    • Default: Inactive

See Also