cd into the folder C:\Windows\Microsoft.NET\Framework\v2.0.50727 (aspnet_regiis.exe lives there) and run the command. google aspnet_regiis for syntax for the command.
I have no idea if thats going to solve the problem as I have no idea what error is happening, your original post had very little information except you point to some lines in Web.config
Hope it helps,
Joe