Results 1 to 3 of 3

Thread: check a Website running in IIS 6.0

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2007
    Posts
    19

    check a Website running in IIS 6.0

    hi friends,,,

    I want to develop a control pannel which deals with a remote 11s 6.0. Through that control pannel i should create a site, delete, start, stop, backup. I am planning a website with C# code behind.

    Since I am not that much into C# developement. Please help me in developing this site..


    First I want to know how to excecute a commandline (windows command) form C#.

    And the Second is I want want to know the C# equivalent for GetObject method in VB 6.0.

    Pls give me some examples if u can which may help me a lot.

    Any peice of information will be great for me,,

    Thanks in Advance,

    Manu B.

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724

    Re: check a Website running in IIS 6.0

    You don't need the command line to manage IIS. You can use LDAP or WMI to manage IIS 6.0:
    Using LDAP
    http://www.google.co.za/search?q=iis+6.0+ldap
    http://www.microsoft.com/technet/pro...fb2972703.mspx

    Using WMI
    http://www.google.co.za/search?q=iis+6.0+wmi
    http://www.microsoft.com/technet/pro...06687f357.mspx

    As for GetObject... Add a COM reference, which will in turn generate an interop assembly for you (which interacts with the COM object you need) - which you use through C#.
    Last edited by axion_sa; May 3rd, 2007 at 02:16 PM. Reason: WMI URL was wrong

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: check a Website running in IIS 6.0


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width