Search code examples
iispre-compilation

Maximum value for IIS .NET Compilation Batch Time-out


What is the maximum value for the IIS -> .NET Compilation -> Batch -> time-out ?

i need to set it to maximum in order to avoid compilation cannot be completed within the time-out period, the compiler reverts to single-compilation mode for the current page.


Solution

  • The maximum value internally is 2147483647 (32-bit signed integer). In the UI of IIS you have to specify the value as hh:mm:ss, so that would be something like: 596523 hours or 68 years.

    I think even if your site exceeds the default value of 15 minutes you have a problem with your application.

    By the way, to find this value, open:

    %systemroot%\System32\inetsrv\config\schema\ASPNET_schema.xml
    

    and search for batchTimeout