« Previous Next »

Thread: IIs 7 manager does not display module feature

Last post 09-09-2009 1:03 PM by janvee. 14 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (15 items)

Sort Posts:

  • 09-06-2009, 8:53 AM

    • janvee
    • Not Ranked
    • Joined on 09-06-2009, 8:50 AM
    • Posts 9

    IIs 7 manager does not display module feature

    I have installed IIS 7 on Vista Ultimate. When I open IIS Manager a lot of icons are shown in the feature view (like ASP, CGI etc) but the 'Module' icon is not shown.

    My questions:

    1. How can I get the 'Module' icon back?

    2. What determines which features are shown in IIS Manager.

     

  • 09-06-2009, 1:46 PM In reply to

    Re: IIs 7 manager does not display module feature

    There are several factors that determine if a page is shown or not in IIS Manager, some of them are globally applicable and some of them are "unique" to each page.

    The first thing is to make sure it has not been removed from the list of UI module providers:

    do you see a "modules" entry in %windir%\system32\inetsrv\config\administration.config ? something like:

    <add name="Modules" type="Microsoft.Web.Management.Iis.Modules.ModulesModuleProvider, Microsoft.Web.Management.Iis, Version=7... ?

    Do you get an error message in the Event Viewer from IIS-Manager?

  • 09-06-2009, 5:06 PM In reply to

    • janvee
    • Not Ranked
    • Joined on 09-06-2009, 8:50 AM
    • Posts 9

    Re: IIs 7 manager does not display module feature

    I do have an entry in Administration.Config for Modules under <moduleProviders>.

    It is entered as:

            <add name="Modules" type="Microsoft.Web.Management.Iis.Modules.ModulesModuleProvider, Microsoft.Web.Management.Iis, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

     I do not get an error message in event viewer from IIS Manager.

    I should add that when I try to browse to http://localhost that I get an error in the browser saying: Internal server error 500.0, module 'DefaultDocument' was not found.

    But the 'DefaultDocument' module is added.

     

  • 09-06-2009, 5:16 PM In reply to

    Re: IIs 7 manager does not display module feature

    Could you run the following commands and let us know what is shown:

    %windir%\system32\inetsrv\appcmd.exe list modules 

    %windir%\system32\inetsrv\appcmd.exe list modules /app.name:"Default Web Site/"

    I'm concerned if your installation is somehow misconfigured, could you open Server Manager (or if in VIsta the OptionalFeatures.exe) and see which options of IIS are installed (is default documents installed)? Have you by any chance replaced the configuration files from another server or something like that?

  • 09-06-2009, 5:34 PM In reply to

    • janvee
    • Not Ranked
    • Joined on 09-06-2009, 8:50 AM
    • Posts 9

    Re: IIs 7 manager does not display module feature

    The result of appcmd list modules:

    Microsoft Windows [versie 6.0.6001]
    Copyright (c) 2006 Microsoft Corporation. Alle rechten voorbehouden.

    C:\Windows\System32\inetsrv>appcmd list modules
    MODULE "HttpRedirectionModule" ( native, preCondition: )
    MODULE "IsapiModule" ( native, preCondition: )
    MODULE "ConfigurationValidationModule" ( native, preCondition: )
    MODULE "DynamicCompressionModule" ( native, preCondition: )
    MODULE "ServerSideIncludeModule" ( native, preCondition: )
    MODULE "CertificateMappingAuthenticationModule" ( native, preCondition: )
    MODULE "UrlAuthorizationModule" ( native, preCondition: )
    MODULE "IsapiFilterModule" ( native, preCondition: )
    MODULE "BasicAuthenticationModule" ( native, preCondition: )
    MODULE "DigestAuthenticationModule" ( native, preCondition: )
    MODULE "WindowsAuthenticationModule" ( native, preCondition: )
    MODULE "IISCertificateMappingAuthenticationModule" ( native, preCondition: )
    MODULE "IpRestrictionModule" ( native, preCondition: )
    MODULE "CustomLoggingModule" ( native, preCondition: )
    MODULE "FailedRequestsTracingModule" ( native, preCondition: )
    MODULE "CgiModule" ( native, preCondition: )
    MODULE "FastCgiModule" ( native, preCondition: )
    MODULE "StaticFileModule" ( native, preCondition: )
    MODULE "DefaultDocumentModule" ( native, preCondition: )
    MODULE "DirectoryListingModule" ( native, preCondition: )

    The result of appcmd list modules /app.name:"Default Web Site/"

    MODULE "HttpRedirectionModule" ( native, preCondition: )
    MODULE "IsapiModule" ( native, preCondition: )
    MODULE "ConfigurationValidationModule" ( native, preCondition: )
    MODULE "DynamicCompressionModule" ( native, preCondition: )
    MODULE "ServerSideIncludeModule" ( native, preCondition: )
    MODULE "CertificateMappingAuthenticationModule" ( native, preCondition: )
    MODULE "UrlAuthorizationModule" ( native, preCondition: )
    MODULE "IsapiFilterModule" ( native, preCondition: )
    MODULE "BasicAuthenticationModule" ( native, preCondition: )
    MODULE "DigestAuthenticationModule" ( native, preCondition: )
    MODULE "WindowsAuthenticationModule" ( native, preCondition: )
    MODULE "IISCertificateMappingAuthenticationModule" ( native, preCondition: )
    MODULE "IpRestrictionModule" ( native, preCondition: )
    MODULE "CustomLoggingModule" ( native, preCondition: )
    MODULE "FailedRequestsTracingModule" ( native, preCondition: )
    MODULE "CgiModule" ( native, preCondition: )
    MODULE "FastCgiModule" ( native, preCondition: )
    MODULE "StaticFileModule" ( native, preCondition: )
    MODULE "DefaultDocumentModule" ( native, preCondition: )
    MODULE "DirectoryListingModule" ( native, preCondition: )

     

    And using OptionalFeatures: default documents is installed.

    I have not replaced the configuration file from another server.

    I did notice an error in in ApplicationHost.config under modules. For some reason there was an entry for "DefaultDocument" and also for "DefaultDocumentModule". 

    I removed the entry "DefaultDocument". If I then browse to http://localhost or to http://localhost/iisstart.htm I do no longer get en error message but an empty page. That means empty in the browser but also empty with view source.


     

  • 09-07-2009, 1:50 AM In reply to

    Re: IIs 7 manager does not display module feature

    So coming back to the original question the only checks that the Modules UI perform are:

    1) Make sure that its listed in the moduleProviders, which it seems is there

    2) Check that W3SVC is set in the registry by looking at:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp\Components\

    in there there should be a value W3SVC of DWORD with value 1.

    3) finally if currently selected (in tree view) something like a site or deeper then it will make sure that the Site contains an http(s) binding.

     Could you verify if any of this is not true.

  • 09-07-2009, 10:30 AM In reply to

    • janvee
    • Not Ranked
    • Joined on 09-06-2009, 8:50 AM
    • Posts 9

    Re: IIs 7 manager does not display module feature

    1. present.

    2. InetStp\Components\W3SVC is missing. Tried to add the value but this is not possible, not even when running regedit 'as administrator'.

    3. http binding is present.

    How can I add the registry key? 

     

  • 09-07-2009, 10:38 AM In reply to

    Re: IIs 7 manager does not display module feature

    What SKU of Vista are you running?

    W3SVC should be installed if you install IIS.

    What is the result of running:

    net start w3svc

     

     

  • 09-07-2009, 10:45 AM In reply to

    • janvee
    • Not Ranked
    • Joined on 09-06-2009, 8:50 AM
    • Posts 9

    Re: IIs 7 manager does not display module feature

    I am using windows vista ultimate 32bit

    The result of running 'net start w3svc' is the message that the requested service was allready started.

  • 09-07-2009, 12:34 PM In reply to

    Re: IIs 7 manager does not display module feature

    I can't think of why this would happen, at this point the recommendation would be to probably reinstall IIS, it looks like its missing some registration (at least that entry in the registry key) and my guess is that there might be others.

    As a workaround for showing the modules you could add the registry key, for that you first need to take ownership of the Components key and then you should be able to add the value. so:

    1) Right click the Components key, select Permissions..., click the Advanced button, select Owner Tab, Select Administrators, and click OK to close all dialogs.

    2) then you should be able to add permissions for Administrators so, right click the Components key, select Permissions, select Administrators from the list, and check the "Full Control" and click OK

    3) finally you should now be able to add the W3SVC of type DWORD(32) value set to 1...

    Having said all that, its probable that other things might be in a weird registration state, it is hard to judge without looking at all the IIS registry keys, inetsrv files, IIS services registered, applicationHost.config, and other things, etc. So my recommendation would be to reinstall IIS if possible.

     

     

  • 09-07-2009, 1:57 PM In reply to

    • janvee
    • Not Ranked
    • Joined on 09-06-2009, 8:50 AM
    • Posts 9

    Re: IIs 7 manager does not display module feature

    The workaround described works. I now have a working 'Modules' function in IIS Manager.

    Thanks for your help!

    I allready uninstalled iis several times, with no positive effect at all.

    Navigating to http://localhost still generates a 404.3 error and when I start the Web Platform Installer it still shows me that Static Content is not installed (even after installing it and after getting the WPI message that it is installed succesfully) but that is a different question

     

  • 09-07-2009, 11:32 PM In reply to

    Re: IIs 7 manager does not display module feature

    If WebPI does not see Static content is a similar registry issue, there is a DWORD value StaticContent that is set when static content is installed.

    Have you tried uninstalling IIS and uninstalling WAS (Windows Process Activation Service) and then reinstalling?

  • 09-08-2009, 11:42 AM In reply to

    • janvee
    • Not Ranked
    • Joined on 09-06-2009, 8:50 AM
    • Posts 9

    Re: IIs 7 manager does not display module feature

    I added the StaticContent registry entry.

    Today I received from a collegue who als works with Vista, a copy of his applicationHost.config. I immediately noticed that he had a long list of <mimeMap> elements underneath the <staticContent> element. In my version there where none.

    After also adding a copy of his <staticContent> section I could finally, after 14 months display iisstart.htm

    Thanks again for all your efforts! 

     

  • 09-08-2009, 12:05 PM In reply to

    • janvee
    • Not Ranked
    • Joined on 09-06-2009, 8:50 AM
    • Posts 9

    Re: IIs 7 manager does not display module feature

    I was happy too soon. Although static content is served when I try to access a default.aspx page nothing is shown.

  • 09-09-2009, 1:03 PM In reply to

    • janvee
    • Not Ranked
    • Joined on 09-06-2009, 8:50 AM
    • Posts 9

    Re: IIs 7 manager does not display module feature

    Finally got .aspx to work!

    The <handlers> element had no accessPolicy defined, defaulting to read.
    After changing it to <handlers accessPolicy="read,script"> I got my first default.aspx page served to a webbrowser.

Page 1 of 1 (15 items)
Microsoft Communities