Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS express from command line

I've installed the IIS Express 7.5 Beta 3 and tried it on multiple computers (Windows 7, Windows Server 2008 R2 and Windows XP) and on each one of them I get the following error when running

iisexpress /path:e:\onlineinvoices\

This is the error. It seems it can't find the applicationhost.config file. I've searched for this file myself too and found it in the AppServer folder of IISExpress installation folder.

Copied template config file 'C:\Program Files (x86)\IIS Express\AppServer\applicationhost.config' to 'C:\Users\marko\AppData\Local\Temp\iisexpress\applicationhost201115151422496.config' 
 Temp configuration file settings error.

The system cannot find the file specified.

The instructions here are pretty weird especially the ones that deal with configuration file. As a matter of fact it says that the applicationhost.config should exist in Users Documents folder but there's no trace of it there.

like image 784
mare Avatar asked Jan 05 '11 15:01

mare


1 Answers

I had the same problem.

It started working after I ran IIS Express by double clicking on the C:\Program Files\IIS Express\iisexpress.exe.

After that it worked when I ran it from the command line.

like image 98
Kevin Berridge Avatar answered Sep 27 '22 22:09

Kevin Berridge