IIS troubleshoot
(Replacing message template with parser tag)
(Updated Edited template to July 12, 2025.)
 
Line 29: Line 29:
External helpful article on how IIS works internally and how to handle restarting it: https://www.leansentry.com/guide/reset-restart-recycle-iis
External helpful article on how IIS works internally and how to handle restarting it: https://www.leansentry.com/guide/reset-restart-recycle-iis
[[Category:IIS]]
[[Category:IIS]]
{{Edited|July|12|2024}}
{{Edited|July|12|2025}}

Latest revision as of 05:50, 20 January 2025

This page was created by Hans.karlsen@mdriven.net on 2020-10-14. Last edited by Edgar on 2025-01-20.

Turnkey Not Starting

If your Turnkey application does not start in IIS, follow these guidelines to pinpoint the problem area.

In the Turnkey web.config file, remove the section that makes the errors route into the application:

<httpErrors errorMode="Detailed" >
</httpErrors>

If you do not replace this, some errors will be rerouted into the same situation that has the problem.

Make sure you have:  

<system.web>
  <compilation debug="true" />
  • Advanced settings for AppPool* (to consider)

Specific time, same every day

Allow overlap AppPool recycle must be disabled.

Idle time-out action Suspend AppPool (not terminate).

------------

ServerSidejobs or SysAsyncTickets being re-entered and started in parallel, or VistaDB is locked by another process:

2021-09-24 14h51 21.png

Understanding IIS Restarting and Process

External helpful article on how IIS works internally and how to handle restarting it: https://www.leansentry.com/guide/reset-restart-recycle-iis