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:

http://blogs.iis.net/webtopics/archive/2010/03/08/troubleshooting-http-500-19-errors-in-iis-7.aspx

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).

Bugger…


Error while uninstalling Microsoft Visual Studio 2010 Ultimate RC

Posted: May 7th, 2010 | Author: | Filed under: howto, idiots | Tags: , , , | No Comments »

I’m back with another strange error probably caused by an interrupted installation of Microsoft Visio 2010.

So, while uninstalling Microsoft Visual Studio 2010 Ultimate RC on Windows 7 Enterprise the following error appears:
---------------------------
Microsoft Visual Studio 2010 Ultimate RC Setup
---------------------------
Error 1402.Could not open key: UNKNOWN\Components\72CC1F6E4CA6F4A4F8B68FD11DB44E14\4848F1E21D219AC3A8BD8C2FAA4300B4. Verify that you have sufficient access to that key, or contact your support personnel.

By error number looks like a registry permission error, investigation at Microsoft didn’t helped me much.
Repair/reinstall failed, so, don’t bother.

After reading a few pages I end up restoring permissions on registry keys using the methods from this page.

After changing permissions for these keys:
8EEF86DD963C1D111A37000A9CA05BF0
68D4BEEE50F999F45A35B6ABBE7E7E0D
1165D2FB630CB174699B857E4C6F9CD7
BA32B1FDF3481944B907A0A07D8FD197
1A01EC3CAB255B145AA0011CA52426E0
5E93D71C1C924E940A3A3ACF1453FA71
B924160F488F4D143B89478C920459E4
C52BBB7D63AE3824BA2A75A9B7BA309F
72CC1F6E4CA6F4A4F8B68FD11DB44E14

I have changed the permissions for the whole Components subtree.

Uninstall was easy, only after.
HTH