How to precompile “Reporting Services” ASP.NET application

When you restart IIS or if “recycle worker process” is enabled, the ASP.NET application are compiling at the first hit.

But you can force the compilation with this Microsoft.NET tool: aspnet_compiler.exe

On this example I recompile “SQL 2005 Reporting Services” page.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v /Reports

Another usefull tool is tinnyget.exe (from iis resource kit). With this tool you can make a HTTP GET to SQL Reporting Service or Sharepoint page and force the compilation.

tinyget.exe -srv: -uri:/ITSystem/default.aspx -h -u:"CurrentUser" -a:2
tinyget.exe -srv: -uri:/Reports/Pages/Folder.aspx -h -u:"CurrentUser" -a:2

Via :


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s