Volledige versie bekijken : IIS werkt niet : HTTP error 503



Martijnke
29 June 2019, 11:49
Dag allen,


als ik naar localhost ga krijg ik :
Service Unavailable HTTP Error 503. The service is unavailable.


ik gebruik IIS 10 op windows 10 versie 1903
na wat geneus in de logfiles vind ik het volgende :

application log :
een error met als source : IIS-W3SVC-WP en als tekst :
The worker process for application pool 'DefaultAppPool' encountered an error 'Cannot read configuration file
' trying to read configuration data from file '\\?\<EMPTY>', line number '0'. The data field contains the error code.

system log
source : WAS tekst :
The Windows Process Activation Service failed to generate an application pool config file for application pool 'DefaultAppPool'. The error type is '5'. To resolve this issue, please ensure that the applicationhost.config file is correct and recommit the last configuration changes made. The data field contains the error number.

source : WAS tekst :
Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool


en inderdaad als ik in IIS (run=>inetmgr) bij Application pools ga zien dan heeft DefaultAppPool de status Stopped, als ik hem start wordt dit Started, maar na enkele minuten staat er terug Stopped en krijg je dus die errors in de event logs


zoals je mss kan zien ben ik zelf een expert maar nu heb ik toch de hulp van andere experts nodig :D

Martijnke
29 June 2019, 11:52
heb al geprobeerd wat hier staat :
https://www.morgantechspace.com/2013/12/HTTP-Error-503-The-service-is-unavailable.html
en wat hier staat :
https://kb.vmware.com/s/article/2126277 (heb wel gene vmware geïnstalleerd)

Martijnke
29 June 2019, 12:03
waaa heb het gevonden op stackoverflow :



Open an Administrator Command Prompt (not a Powershell prompt)
Run: net stop WAS /y
Run: rmdir /s /q C:\inetpub\temp\appPools
Run: net start W3SVC




google is je vriend :)

Martijnke
30 June 2019, 17:36
ooh ja voor zij die de oorzaak willen weten :
probleem is begonnen na laatste windows update

compuchrisje
3 July 2019, 23:13
Je hebt wel gekeken naar oudere artikels, dus ook met oudere windows versies. En ja, ik hoor tegenwoordig elk half jaar dat er zaken fout gaan met hun updates. Maar goed dat jij je plan al kon trekken ermee.