Page 1 of 1

Detecting when ASP is not registered with IIS

Posted: Mon Oct 22, 2007 2:45 pm
by Chris Miller
Is there any way with IA to detect when the ASP.NET Web Service Extension v 2.0 is not enabled in IIS. I'm working on an installer for a web app that requires ASp>Net 2.0 to be in place. If IIS is installed after the .NET Framework, then ASP.NET will not be available with IIS until the user runs aspnet_regiis.exe -r. I would like to do a check and possibly run aspnet_regiis if needed.

Posted: Tue Oct 23, 2007 8:02 am
by Gizm0
You can run the asp registration .exe no matter if it's already installed or not. It won't affect anything if it's installed, so you don't need to detect anything at all.