I’m testing the responsiveness of a web application, and want to isolate any slow areas (database access, javascript, etc) and want to be sure that IIS Express isn’t slowing things down by all its console output.
Is there a way of running IIS Express without that output, or even without the console being visible at all?
I’ve tried the /trace:error option, but it still outputs lines for every request.
the following should do the trick:
Create a VBScript: IIS-Express-silent.vbs
If you are running IIS Express only as localhost and you don’t (intend to) use SSL then you are ready. Just add [YOUR SITE NAME] from applicationhost.config located in your user profile:
If you need elevated privileges you must create a second file in the same directory (VBScripts can’t be run this way directly): Run-as-Administrator.bat
Please leave Site in your VBScript blank then and add the name in your batch file instead.
Right mouse button – “Run as Administrator” – and you’re done 🙂