Archive for the ‘IIS’ Category

IIS Admin service would not start with error -2146893809


25 May

In the event viewer you should see error with Event ID 7024.
The IIS Admin Service service terminated with service-specific error %%-2146893809.

Here is a possible fix. For the service to start it needs RSA MachineKey and access to it. The Key is stored in C:\Users\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys(for Server 2008)  you should see some files in that location with the size of 2 or 3 Kbytes. Look for the file name that starts with ‘C23’. This is the key that is used by Microsoft Internet Information Server. Check the permissions on that key and make sure that ‘System’ and ‘Administrators’ have full control on this key. Once the permissions are set try starting IIS Admin service.

Quick way of fixing ASP.NET


21 Jan

Probably majority of you know but for those who don’t here is a quick to fix you ASP.NET installation.
First Identify the ASP.NET version that you need to fix.
Then search for aspnet_regiis.exe file. Most likely you’ll find couple of them this is is why knowing the version is important. The file should be located in C:\WINDOWS\Microsoft.NET\Framework\ followed by the version number on 32bit systems and C:\WINDOWS\Microsoft.NET\Framework64\ on 64bit systems. After identifying the correct version (in my case C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727) open command prompt and change directory to the required one(cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727). Now type
aspnet_regiis -i
This should take less then a minute. In Application Event log you should see couple ASP.NET events the last one will contain the location where the log file is held. The log file simply tells you what was done.

For more information about aspnet_regiis check MSDN.

IT Blog

Just another blog on Kozeniauskas.com Network