I am trying to run the iis-express command tool from a folder :
iis-express /path:. /trace.
i have the admin rights , and my folder only contains a index.html file. when i try to do it that way , all i get is an http Error 500.0 error. If i try to open the folder with webmatrix , then run the website , it works though , any suggestions ? where can i read the logs on my Windows 7 pc too ?
IIS Express (iisexpress.exe) does not expand current directory when you pass '.' as value for /path switch. Instead of '.', provide full path to the content directory.
iisexpress.exe /path:<full-path-to-content-directory>
You can find logs in %userprofile%\documents\iisexpress\ directory (in 'logs' and 'TraceLogFiles' folders) Note: When iisexpress.exe is started from command line, it will be named as 'Development Web Site'.