IIS troubleshoot
No edit summary
(Automatically adding template at the end of the page.)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==== Turnkey not starting ====
==== Turnkey Not Starting ====
If your Turnkey application does not start in IIS follow these guide lines to pinpoint problem area:
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 errors route into the application:
In the Turnkey web.config file, remove the section that makes the errors route into the application:
<!-- Map common 4xx errors to a Viewmodel called RedirectView sending along the variable ErrorCode-->
<!-- Map common 4xx errors to a Viewmodel called RedirectView sending along the variable ErrorCode-->
  <httpErrors '''errorMode="Detailed"''' >
  <httpErrors '''errorMode="Detailed"''' >
  </httpErrors>
  </httpErrors>
If you do not replace this - some errors will be rerouted into the same situation that has the problem.
If you do not replace this, some errors will be rerouted into the same situation that has the problem.


Make sure you have    
Make sure you have:    
  <system.web>
  <system.web>
   <compilation debug="true" />
   <compilation debug="true" />
Line 14: Line 14:
*Advanced settings for AppPool* (to consider)
*Advanced settings for AppPool* (to consider)


Specific time same every day
Specific time, same every day


allow overlap AppPool recycle must be disabled
Allow overlap AppPool recycle must be disabled.


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


<nowiki>------------</nowiki>
<nowiki>------------</nowiki>


ServerSidejobs or SysAsyncTickets being re-entried and started in parallell, or VistaDB is locked by other process :
ServerSidejobs or SysAsyncTickets being re-entered and started in parallel, or VistaDB is locked by another process:
[[File:2021-09-24 14h51 21.png|none|thumb|593x593px]]
[[File:2021-09-24 14h51 21.png|none|thumb|593x593px]]


==== Understanding IIS restarting and process ====
==== Understanding IIS Restarting and Process ====
External good article on how IIS works internally and how to handle restarting it;
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]]
https://www.leansentry.com/guide/reset-restart-recycle-iis
{{Edited|July|12|2024}}

Latest revision as of 15:35, 10 February 2024

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

This page was edited 90 days ago on 02/10/2024. What links here