I am having problems loading web pages using localhost using Windows 7 and IIS7.5. It was all working fine until I installed some Microsoft updates including Windows 7 Service pack 1 when I started getting error 503 Service Unavailable.I posted a message
on the Microsoft forum related to Windows updates, but all the suggestions for resolving or identifying the problem were unsuccessful.
After uninstalling Windows7 SP1, turning off IIS Manager in 'Programs and Features' in the control panel,then turning on IIS with the default configuration, Localhost appeared to be working correctly, and continued to work correctly after reinstalling Windows
7 SP1. I then reconfigured IIS to run PHP scripts following the instructions on
http://technet.microsoft.com/en-us/library/dd239230(WS.10).aspx?ppud=4
but the error 503 returned.
I have uninstalled PHP, turned off IIS, re-installed PHP and reconfigured IIS and still get the same error message.
If I look in the 'Windows Logs/System section of 'Event Viewer' (in Control Panel/Administrative Tools'), I find 5 warnings and 1 error message all within a space of 2 seconds at the time I attempted to load the web page.
The warnings ar all the same, and are
Source: WAS
Event ID: 5022
level: Warning
Description:
The Windows Process Activation Service failed to create a worker process for the application pool 'DefaultAppPool'. The data field contains the error number.
Data: 8007012B
The error message is
Source: WAS
Event: 5002
Description
Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
There is a 'Help' hyperlink at the bottom of the Warnings which takes me to a web page where I can download a utility named 'Err'
Running this utility and passing it the data in the warning gives the following additional information.
D:\Err>err 8007012b
# as an HRESULT: Severity: FAILURE (1), Facility: 0x7, Code 0x12b
# for hex 0x12b / decimal 299 :
MCIERR_NEW_REQUIRES_ALIAS mmsystem.h
SQL_299_severity_16 sql_err
# The DATEADD function was called with bad type %ls.
ERROR_PARTIAL_COPY winerror.h
# Only part of a ReadProcessMemory or WriteProcessMemory
# request was completed.
# 3 matches found for "8007012b"
At the same time as this error and warnings are generated, 2 new folder chains are created in the c:\Users folder and are
TEMP.IIS APPPOOL.006\AppData\Local\Microsoft\VisualStudio\
TEMP.IIS APPPOOL.007\AppData\Local\Microsoft\VisualStudio\
There are no other files or folders in any of these sub-folders.
If I go to IIS Manager after the error has occured and from the server node select Worker Processes, no processes are listed.
The PHP script I am attempting to load just consists of
<?php
phpinfo();
?>
I am at a loss to know where to go from here.