I’m not getting it. I’ve installed IIS Express and iisexpress.exe runs ok and I can see the default web page from my browser. I can also get a list of options with iisexpress /?. But when I try
iisexpress /path:FullSitePath
I get “The system cannot find the path specified”, which is not a very useful message as the path itself is valid. I’m giving a path such as “c:\k_f90\f90wx\books\pwebserv\ch02\” and inside that directory I have a default.htm file. I must be missing something very fundamental here. Can someone please suggest a (non-VS) solution?
Keith
Update:
Update:
I’ve got it working. I ran with /trace:error and got,
C:\K_F90\F90WX\BOOKS\PWEBSERV\CH02>"c:\Program Files\IIS Express\iisexpress.exe"
/trace:error /path:c:\k_f90\f90wx\books\pwebserv\ch02\
Copied template config file 'c:\Program Files\IIS Express\AppServer\applicationh
ost.config' to 'C:\WINDOWS\TEMP\iisexpress\applicationhost2012102493845140.confi
g'
Updated configuration file 'C:\WINDOWS\TEMP\iisexpress\applicationhost2012102493
845140.config' with given cmd line info.
Starting IIS Express ...
Initializing the W3 Server Started CTC = 3865953
W3 Server initializing WinSock. CTC = 3865968
W3 Server WinSock initialized. CTC = 3865968
W3 Server ThreadPool initialized (ipm has signalled). CTC = 3865968
Failed to load global module %windir%\Microsoft.NET\Framework\v4.0.30319\webengi
ne4.dll
Failed processing with hr = 8007007e
Error loading global modules. hr = 8007007e
Terminating W3_SERVER object
Start listenerChannel http:0
Initializing the W3 Server Started CTC = 3867078
W3 Server initializing WinSock. CTC = 3867093
W3 Server WinSock initialized. CTC = 3867093
W3 Server ThreadPool initialized (ipm has signalled). CTC = 3867093
Failed to load global module %windir%\Microsoft.NET\Framework\v4.0.30319\webengi
ne4.dll
Failed processing with hr = 8007007e
Error loading global modules. hr = 8007007e
Terminating W3_SERVER object
InitComplete event signalled
Report ListenerChannel stopped due to failure; ProtocolId:http, ListenerChannelI
d:0
Process Model Shutdown called
Waiting for all LISTENER_CHANNELS to stop
Failed to start 'HostedWASStart'. Error = 1623888
HostableWebCore activation failed.
Unable to start iisexpress.
The specified module could not be found.
Then I discovered the shell I’m running it from has got a blank WINDIR environment variable. I fixed this and now IIS Express is working.
↧