Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to detect if Active Server Pages are enabled?

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Increasing website search result position and Pag..  
Author Message
Stefan Uhlemann

External


Since: Feb 07, 2008
Posts: 1



(Msg. 1) Posted: Thu Feb 07, 2008 6:10 am
Post subject: How to detect if Active Server Pages are enabled?
Archived from groups: microsoft>public>inetserver>iis (more info?)

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

 >> Stay informed about: How to detect if Active Server Pages are enabled? 
Back to top
Login to vote
"Lognoul, Marc

External


Since: Feb 05, 2008
Posts: 21



(Msg. 2) Posted: Thu Feb 07, 2008 12:07 pm
Post subject: Re: How to detect if Active Server Pages are enabled? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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/prodtechnol/WindowsServer2003/Library...S/79652

KR,
Marc

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


"Stefan Uhlemann" <stefan RemoveThis @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
>

 >> Stay informed about: How to detect if Active Server Pages are enabled? 
Back to top
Login to vote
clintonG

External


Since: Jan 17, 2008
Posts: 11



(Msg. 3) Posted: Thu Feb 07, 2008 1:26 pm
Post subject: Re: How to detect if Active Server Pages are enabled? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.TakeThisOut@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
>
 >> Stay informed about: How to detect if Active Server Pages are enabled? 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 4) Posted: Thu Feb 07, 2008 3:06 pm
Post subject: Re: How to detect if Active Server Pages are enabled? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.RemoveThis@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
>
 >> Stay informed about: How to detect if Active Server Pages are enabled? 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]