From Deltek's Knowledgebase article at https://deltek.custhelp.com/app/answers/detail/a_id/79417 


KB Article #:
79417
Summary:
FILESTREAM Error: The remote server returned an error: (413) Request Entity Too Large.
Description:

When trying to upload an 800 KB file size for FILESTREAM, receiving the following error: 

WebException
The remote server returned an error: (413) Request Entity Too Large.

Module:Deltek.Framework.Controls.Client.InnerMakeCall
Method:MakeWebServiceCall

Call Stack
Deltek.Framework.Controls.Client.InnerMakeCall.MakeWebServiceCall(className As String, methodName As String, args As Object[], passCulture As Boolean, async As Boolean) As ReturnObject
System.Net.HttpWebRequest.GetResponse() As WebResponse

Resolution:

  1. Create a backup of the applicationHost.config file on the Web/Application server location: C:\Windows\System32\inetsrv\config.
  2. Open a DOS command prompt, then point it to the C:\Windows\System32\inetsrv directory.
  3. Run the following command:
    appcmd.exe set config -section:system.webserver/serverruntime /uploadreadaheadsize:2147483647 /commit:apphost
  4. Restart the Internet Information Service (IIS).

References: