« Previous Next »

Thread: Unable to set IIS metabase and compatibility layer

Last post 04-09-2009 12:19 AM by rontwd. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 03-25-2008, 8:33 PM

    Unable to set IIS metabase and compatibility layer

     Hi - I am trying to install the IIS metabase and compatibility layer via Windows Features and I get an error every time i try. I have followed a number of suggestions to no avail.

    Here is an extract from iis7.log:

    [03/25/2008 23:18:22] [ ***** IIS 7.0 Component Based Setup ***** ]
    [03/25/2008 23:18:22] "C:\Windows\System32\inetsrv\iissetup.exe" /install Metabase
    [03/25/2008 23:18:22] Successfully updated IIS_IUSRS rights.
    [03/25/2008 23:18:22] Successfully populated IIS_IUSRS.
    [03/25/2008 23:18:22] Successfully set IISADMIN install state.
    [03/25/2008 23:18:22] Successfully removed old metabase files.
    [03/25/2008 23:18:26] Successfully started IISADMIN.
    [03/25/2008 23:18:26] < !!FAIL!! > MB::SetData result=0x8009000f
    [03/25/2008 23:18:26] < !!FAIL!! > METABASE_UTIL::InstallIisAdminMetabaseEntries result=0x8009000f
    [03/25/2008 23:18:32] Successfully stopped IISADMIN.
    [03/25/2008 23:18:33] Successfully installed legacy snapin metabase entries.
    [03/25/2008 23:18:33] Successfully started IISADMIN.
    [03/25/2008 23:18:33] < !!FAIL!! > Install of component Metabase result=0x8009000f
    [03/25/2008 23:18:33] < !!FAIL!! > COMPONENT::ExecuteCommand result=0x8009000f
    [03/25/2008 23:18:33] [ End of IIS 7.0 Component Based Setup ]

    ASP.net appears to be configured (under Application Development Features) and Windows Process Activation Service appears to be working.  Does anyone have any suggestions?  BTW, this is a brand new laptop running Vista Business.

    Thanks in advance. 

  • 03-26-2008, 9:51 PM In reply to

    Re: Unable to set IIS metabase and compatibility layer

    Couple things.

    1) Are you running in as Administrator with UAC off.

    2) Have you tried uninstalling / reinstalling everything?

     

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 03-26-2008, 10:07 PM In reply to

    Re: Unable to set IIS metabase and compatibility layer

    machinekeys related - see
    http://forums.iis.net/p/1148509/1865753.aspx#1865753

    PRB: Error Message "0x8009000F = Object Already Exists"
    http://support.microsoft.com/?id=271865

    Cheers,
    Bernard Cheah
  • 03-27-2008, 7:12 AM In reply to

    Re: Unable to set IIS metabase and compatibility layer

    Steve,

    1.  I have tried with UAC turned off and that doesn't work.  I'll try going in as Administrator - my only question is:  how is this different to logging in as a normal user with admin privileges and UAC turned off? 

    2.  I have turned IIS7 and WAS off in the Windows Features dialog and then on again but that does not solve the problem.

     
    Cheers

  • 03-27-2008, 7:18 AM In reply to

    Re: Unable to set IIS metabase and compatibility layer

    Hi,

    I cannot find a MachineKeys directory anywhere on my Vista Business system.  (This is with hidden files/directories turned on in explorer).  Do these live somewhere else in Vista?

    Cheers. 

  • 03-29-2008, 1:06 AM In reply to

    Re: Unable to set IIS metabase and compatibility layer

    Lazy to open my Vista box :)
    try - http://forums.iis.net/p/1084275/1671527.aspx#1671527

     

    Cheers,
    Bernard Cheah
  • 03-29-2008, 4:05 AM In reply to

    Re: Unable to set IIS metabase and compatibility layer

    I eventually discovered where this is.  Tried the suggestions but still no luck.  At one point,  Windows Features just froze Vista - I had to physically remove all power to the laptop before I could reboot!  However, this was after midnight so I may have fouled up somewhere.  I'm at the point of giving up but may try one more time.

    Cheers. 

  • 03-29-2008, 7:08 AM In reply to

    Re: Unable to set IIS metabase and compatibility layer

    Hurrah!  After goodness know how many fruitless hours, I have managed to enable IIS6 compatibility.  For anyone else who happens to become trapped in this mess, here is the solution:

    1. Enable the built-in Administrator account:
      • From Start menu, run cmd as administrator.
      • At prompt, type net user administrator /active:yes
      • Exit, log off and log in using the now-visible Administrator account.
    2. Open Explorer and make sure that hidden files/directories are visible.
    3. Navigate to C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys.
    4. Set the permissions on the directory as follows:
      • Right-click on MachineKeys directory, select Properties and then select the Security tab.
      • Click Advanced, select the Permissions tab and click Edit.
      • Click Add and add the following object names:  Administrators and SYSTEM.  Give then full permission and make sure the 'Include inheritable permissions' is not selected.
      • I also did the same for the files in the directory (just in case).
    5. From the Start menu run cmd as administrator and type the following at the prompt:
      • start /w pkgmgr /uu:IIS-WebServerRole;WAS-WindowsActivationService
    6. Now open Control Panel and select Programs, Programs and Features, Turn Windows features on or off.
    7. Select Windows Process Activation Service (at the bottom of the tree) and select all components.  Hit OK.
    8. Repeat step 6 and select Internet Information Services.  Now select the appropriate options, click OK and it should just work!!

    I performed the last steps in stages so that I could be sure that everything worked.

    This whole process sucks - I cannot believe that something as simple as setting up compatibility should require such contortions.

     
    Enjoy!
     

  • 04-09-2009, 12:19 AM In reply to

    • rontwd
    • Not Ranked
    • Joined on 03-18-2009, 10:06 PM
    • Posts 2

    Re: Unable to set IIS metabase and compatibility layer

    Thanks for your detailed instructions which I followed meticulously. The first outcome was that IIS 7 became uninstallled. I then carefully reinstalled the default set of features and only then tried to switch on IIS 6 Bompatibility. Unfortunately, for me, I still get the message "An error has occurred. Not all features were successfully changed." As far as I can see, this feature is essential for using IIS on a local website. Thanks Microsoft. Anyway glad you solved your problem
Page 1 of 1 (9 items)
Microsoft Communities