Posts Tagged ‘IIS’

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