How to detect if Active Server Pages are enabled?

This is a discussion on How to detect if Active Server Pages are enabled? within the Inetserver forums in Microsoft Tools category; Hi, what is the best way to check if the web extension "Active Server Pages" is enabled? Is there a registry key to check? Thanks Stefan...

Go Back   Application Development Forum > Microsoft Tools > Inetserver

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 02-07-2008, 03:32 AM
Stefan Uhlemann
Guest
 
Default How to detect if Active Server Pages are enabled?

Hi,

what is the best way to check if the web extension "Active Server Pages" is
enabled?
Is there a registry key to check?

Thanks

Stefan


Reply With Quote
  #2  
Old 02-07-2008, 08:39 AM
Lognoul, Marc \(Private\)
Guest
 
Default Re: How to detect if Active Server Pages are enabled?

Simply check its status inside the metabase property
"WebSvcExtRestrictionList" which includes the list of all extensions.
When preceded with a 1, it is enabled, with a 0, disabled.
http://www.microsoft.com/technet/pro....mspx?mfr=true

KR,
Marc

please note that is is valid for IIS6 but I actually never verified against
7.


"Stefan Uhlemann" <stefan@myxperience.de> wrote in message
news:foefn1$jmp$1@news.wtal.de...
> Hi,
>
> what is the best way to check if the web extension "Active Server Pages"
> is enabled?
> Is there a registry key to check?
>
> Thanks
>
> Stefan
>

Reply With Quote
  #3  
Old 02-07-2008, 12:50 PM
Kristofer Gafvert
Guest
 
Default Re: How to detect if Active Server Pages are enabled?

The easiest would be to check in IIS Manager. Or do you mean
programmatically?

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


"Stefan Uhlemann" <stefan@myxperience.de> skrev i meddelandet
news:foefn1$jmp$1@news.wtal.de...
> Hi,
>
> what is the best way to check if the web extension "Active Server Pages"
> is enabled?
> Is there a registry key to check?
>
> Thanks
>
> Stefan
>


Reply With Quote
  #4  
Old 02-07-2008, 02:26 PM
clintonG
Guest
 
Default Re: How to detect if Active Server Pages are enabled?

You asked for the "best way" to determine if it is "enabled" meaning
ACTUALLY WORKS right?

For now forget all the other technical configurations for now. Just do
this...

Create a new HTML page and but save it as default.asp into
c:\inetpub\wwwroot and then you will be able to use any browser to request
http://localhost/ but first a couple easy setup steps...

That default.asp file should look like this...

<html>
<head>
<title>Testing ASP</title>
</head>
<body>
<% Response.Write("Hello World") %>
</body>
</html>


Note when we install IIS, by default an iisstart.htm file is written into
c:\inetpub\wwwroot. You should be able to load that file by requesting
http://localhost/ right? If not IIS is not installed correctly.

If that step can be confirmed rename the iisstart.htm file to
isstart.htm.old
(or whatever) and test ASP by requesting http://localhost/ and the
default.asp will be loaded by IIS.

You should see Hello World.

IMO determining if an ASP page will load or not is the best way to determine
if ASP is functional.

<%= Clinton Gallagher

"Stefan Uhlemann" <stefan@myxperience.de> wrote in message
news:foefn1$jmp$1@news.wtal.de...
> Hi,
>
> what is the best way to check if the web extension "Active Server Pages"
> is enabled?
> Is there a registry key to check?
>
> Thanks
>
> Stefan
>


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:07 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.