full of … these

IIS error: HTTP Error 500.19 – Internal Server Error

Posted: March 18th, 2012 | Author: | Filed under: howto, idiots | Tags: , , , | No Comments »

IIS permission error suck.

I got this error on a freshly server provided by a company:

HTTP Error 500.19 – Internal Server Error
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Config File \\?\E:\inetpub\wwwroot\web.config
Requested URL http://localhost:80/iisstart.htm
Physical Path
Logon Method Not yet determined
Logon User Not yet determined

I coul find a page with all errors and how to solve them,  but, none worked:


More testing reveled that moving the wwwroot directory from C drive to another drive, somehow affected the security and the access was denied to read the web.config file even the file was a non-existent one.

The solution, after some tests, was to not use wwwroot at all for the default web site. Instead, we created an empty directory in inetpub, and, it worked from the first try.

Also, the old configuration was working if the port 80 was changed to 8080. I have not tried other port, I was too angry to try another (e.g. 81).


AWStats, analyze IIS 6.0 log files

Posted: November 30th, 2009 | Author: | Filed under: howto | Tags: , , , , | No Comments »

If want to analyze your logs using awstats setup awstats like it’s specified here: http://awstats.sourceforge.net/docs/awstats_setup.html

Special for IIS is the log format, dumb log format.
Change your settings like this:
#Logformat for IIS is 2
LogFormat = “%time2 %other %other %method %url %port %other %host %ua %code %bytesd %other”

Just say thanks.