Show/Hide Toolbars

Reporting Services CMD

Navigation: » No topics above this level «

Configuring web.config

Scroll Prev Top Next More

When uploading large reports, resources etc you may get this error

 

 Error: you need to update the web.config to enable larger files-"

 

 

 

 This issue is related to the reporting services web.config and the maximum upload file size.

 

 

 Find the web.config file for your reporting services instance, open it up, and track down the line that looks something like this

 (quick way to find the line is search for 'httpRuntime')

 

 

 Example

 

 <httpRuntime executionTimeout = "9000" />

 

 

 Now just add a max request length attribute in there to fix the problem, adjust your size as needed. in the example below the max request length is 30 mb.

 

 

 Example with maxRequesetLength added        

 

         <httpRuntime executionTimeout = "9000" maxRequestLength="30000000" />

 

Note after entering the maxRequestLength attribute you must restart SSRS for this setting to take effect.

 

 

 

Location of web.config for

 

the folder location is

 

Program Files\Microsoft SQL Server\(SRSS Instance)\Reporting Services\ReportServer

 

eg.

 

Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer

 

 

 

Example web.config file:

 

 clip0020