Detect If Default Web Site is Started?

From: Martin (martin_naughton)
Date: 06/21/04

  • Next message: Jacky: "WPA for use from .NET"
    Date: Mon, 21 Jun 2004 13:46:43 +0100
    
    

    Hi,

    I'm writing code to detect whether, on the current machine:

    1) IIS is installed
    2) IIS Service is started
    3) Default Web Site is Started

    I have successfully implemented code for items 1) and 2).

    Can anybody give a sample of item 3)?

    Ideally, it will work in VBScript, but any sample will do.

    Thanks,
    Martin


  • Next message: Jacky: "WPA for use from .NET"

    Relevant Pages

    • Detect If Default Web Site is Started?
      ... I'm writing code to detect whether, ... IIS Service is started ... Default Web Site is Started ... Ideally, it will work in VBScript, but any sample will do. ...
      (microsoft.public.win32.programmer.wmi)
    • Re: MP Control Manager detected MP is not responding to HTTP requests. The http error is Forbidden.
      ... Verify the IIS service is running and that the default first website is also ... MP encountered an error when connecting to SQL Server. ... The Default Web Site is disabled in IIS. ...
      (microsoft.public.sms.setup)
    • Re: Fully qualified root URL
      ... I just want to get the root url of my web site: ... I am writing code that produces a HTML newletter that is sent out to ... As I am developing in visual studio 2005 hosting environment at the ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Fully qualified root URL
      ... asp.net faq: http://asp.net.do/faq/ ... I just want to get the root url of my web site: ... I am writing code that produces a HTML newletter that is sent out to subscribers. ... I want to find the root url programmatically. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Problem with localhost
      ... Check out your configuration using the "Internet Service Manager". ... IIS service is actually installed ... The web site is listening on all adapters. ... > When I am tring to connect to localhost the IE can't find localhost. ...
      (microsoft.public.inetserver.iis)