Tuesday, October 02, 2012

Http Error 413 “Entity too large” when deploying report on SSL report server

Problem

A report written for SQL2005 SSRS in VS 2005, had to be modified, tested and deployed to a Windows 2003 server with IIS 6.0. When deploying the report with VS 2005 the following error came up:

Http Error 413 “Entity too large”

Solution

I found a solution for my problem in this technet document:

Client cannot renegotiate request and returns an HTTP 413 error

To run the cscript adsutil.vbs as given in the example:

  • log on to the Windows server with an account with admin rights
  • Find the adsutil.vbs script, in this case it was in C:\Inetpub\AdminScripts
  • open a Command promt window
  • run the command with a size large enough to accommodate the report (in my case 138 KB):
    cscript C:\Inetpub\AdminScripts\adsutil.vbs set w3svc/1/uploadreadaheadsize 204800
  • Now deploy the report again from your VS 2005 project;

No comments: