Checking IIS version

Discussion in 'ASP' started by Xarzu, Dec 18, 2007.

  1. Xarzu

    Xarzu New Member

    Joined:
    Dec 18, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I was trying to install some ASP sample code and I got the following message:

    This setup requires Internet Information Server 4.0
    or higher for configuring IIS Virtual Roots. Please make
    sure that you have IIS 4.0 or higher.


    How to I check and see if I have the right IIS installed? I am running XP Professional, so I assume I have IIS.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,376
    Likes Received:
    388
    Trophy Points:
    83
    Your installer should check the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp

    If this key exists, then IIS is installed. If it doesn't exist, IIS isn't installed. It really doesn't get any simpler than that. This key also provides some additional interesting information, such as the IIS version number. The version information is kept in the MajorVersion MinorVersion registry keys as DWORDs
     
  3. Xarzu

    Xarzu New Member

    Joined:
    Dec 18, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I have been told that if you install the IDE for ASP.NET -- The visual web developer -- before you install IIS, you can have problems.
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,376
    Likes Received:
    388
    Trophy Points:
    83
    Depends but there may be some integrating issues.
     
  5. urstop

    urstop New Member

    Joined:
    Oct 17, 2007
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    0
    From what I know, XP comes with IIS version 5, so I don't know why are getting the issue. Did you make sure that IIS has been enabled. I mean the default installation of XP does not install IIS, you will to install explicitly. You can go to the ADD Remove Windows components and install it if it is not installed.
     
  6. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,376
    Likes Received:
    388
    Trophy Points:
    83
    It may so happen that someone has un-installed IIS and it apparently looks he is creating a Installer.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice