IIS will install, but with errors and w3svc fails to run

I have a newly installed 2003 box.  I had an issue with WSUS 3 where all the services wouldn't start and complained that it "won't start" in the event log with nothing else useful.  I had this issue once in a test environment and after much frustration I reinstalled SP2 and the services started.  On this box, I tried that but didn't resolve the issue.  I uninstalled WSUS along with IIS.  When I tried to reinstall IIS, it was complaining it couldn't write encrypted metabase so I told it to do it unencrypted.  Install finished, though w3svc won't start.  In IIS admin I can't look at the properties of the server (does nothing when I try).  If I try to expand application pools it says "an internal error occured" and under sites it has a red triangle next to "Site #1" and expanding that says "the system cannot find the path specified".  If I try the properties of Site #1 mmc will crash in mfc42u.dll.  I have been looking around a lot on these errors (below) and not getting too far.  I have tried reinstalling IIS a few times, including after removing SAV 10.2 with no difference.  Any ideas?  Errors below along with sections of iis6.log

Event Type:      Error
Event Source:      W3SVC
Event Category:      None
Event ID:      1036
Date:            1/24/2008
Time:            2:27:14 PM
User:            N/A
Computer:      <computer>
Description:
A failure occurred while initializing the configuration manager for the World Wide Web Publishing Service. The data field contains the error number.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 4f 05 07 80               O..€    

Event Type:      Error
Event Source:      W3SVC
Event Category:      None
Event ID:      1005
Date:            1/24/2008
Time:            2:27:14 PM
User:            N/A
Computer:      <computer>
Description:
The World Wide Web Publishing Service is exiting due to an error. The data field contains the error number.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 4f 05 07 80               O..€    

Event Type:      Error
Event Source:      Service Control Manager
Event Category:      None
Event ID:      7023
Date:            1/24/2008
Time:            2:27:15 PM
User:            N/A
Computer:      <computer>
Description:
The World Wide Web Publishing Service service terminated with the following error:
An internal error occurred.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Event Type:      Error
Event Source:      ASP.NET 1.1.4322.0
Event Category:      Setup
Event ID:      1018
Date:            1/24/2008
Time:            2:22:20 PM
User:            N/A
Computer:      <computer>
Description:
Failed while registering ASP.NET (version 1.1.4322.0) in IIS. Error code: 0x8007054f

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


[1/24/2008 14:18:13] OC_COMPLETE_INSTALLATION:iis_core:SetAdminACL:Write the new security descriptor to the Metabase:Start.
[1/24/2008 14:18:13] OC_COMPLETE_INSTALLATION:iis_core:SetAdminACL:  At this point we have already been able to write basic entries to the metabase, so...
[1/24/2008 14:18:13] OC_COMPLETE_INSTALLATION:iis_core:SetAdminACL:  If this has a problem then there is a problem with setting up encryption for the metabase (Crypto).
[1/24/2008 14:18:13] OC_COMPLETE_INSTALLATION:iis_core:WriteSDtoMetaBase:Start.
[1/24/2008 14:18:15] OC_COMPLETE_INSTALLATION:iis_core:WriteSDtoMetaBase:cmdKey():SetData(MD_ADMIN_ACL), dwdata = 84; outpSD = 594df58, Start
[1/24/2008 14:18:15] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::SetData[/:6027:MD_ADMIN_ACL].
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Error Setting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:!FAIL!
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:WriteSDtoMetaBase:cmdKey():SetData(MD_ADMIN_ACL), FAILED. Code=0x8007054f.End.
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:WriteSDtoMetaBase:End.  Return=0x8007054f
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:SetAdminACL:Write the new security descriptor to the Metabase:End.
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:SetAdminACL(/):End.
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Do you want to retry?
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:...ProcessEntry:100=86...
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:...ProcessEntry:100=82...
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:...ProcessEntry:100=2...
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:------------------
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:CallProcedureInDll(C:\WINDOWS\system32\inetsrv\iislog.dll): DllRegisterServer
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:iOleInitialize: Succeeded: 0.  MakeSure to call OleUninitialize.
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:CallProcedureInDll: Calling 'DllRegisterServer'.Start
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Error calling procedure 'DllRegisterServer()' in file 'C:\WINDOWS\system32\inetsrv\iislog.dll'.


0x8000ffff=Catastrophic failure

[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:!FAIL!
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:CallProcedureInDll: Calling 'DllRegisterServer'.End.FAILED. Err=8000ffff.
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:------------------
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Do you want to retry?
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:...ProcessEntry:100=86...
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:...ProcessEntry:100=84...
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:MigrateInfSectionToMD:(CORE_REG_IIS3_UPGRADE)Start.
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::SetData[LM:1000:IIS_MD_SERVER_BASE].
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:MigrateInfSectionToMD(CORE_REG_IIS3_UPGRADE):End.
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:...ProcessEntry:100=84...
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:MigrateInfSectionToMD:(CORE_REG)Start.
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::SetData[/:1002:MD_KEY_TYPE].
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::SetData[LM:1002:MD_KEY_TYPE].
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::GetData[/:9998:9998].
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::GetData[/:9998:9998].
[1/24/2008 14:21:41] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::GetData[LM:9998:9998].
[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::GetData[LM:9998:9998].
[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::SetData[LM:9998:9998].
[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::GetData[/:9995:9995].
[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::GetData[/:9995:9995].
[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::GetData[LM:9995:9995].
[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::GetData[LM:9995:9995].
[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::SetData[LM:9995:9995].
[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::GetData[/:9996:9996].
[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::GetData[/:9996:9996].
[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::GetData[LM:9996:9996].
[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:CMDKey::GetData[LM:9996:9996].
[1/24/2008 14:21:42] OC_COMPLETE_INSTALLATION:iis_core:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:CMDKey::GetData[/LM/W3SVC:2168:2168].
[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:CMDKey::SetData[/LM/W3SVC:2168:2168].
[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:Calling SetApplicationDependencies
[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:CMDKey::GetData[/LM/W3SVC:2167:2167].
[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:CMDKey::GetData[/LM/W3SVC:2167:2167].
[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:CMDKey::SetData[/LM/W3SVC:2167:2167].
[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:Calling SetServiceToManualIfNeeded
[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:CMDKey::GetData[/LM/W3SVC:5519:MD_SSL_USE_DS_MAPPER].
[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:CMDKey::GetData[/LM/W3SVC:5519:MD_SSL_USE_DS_MAPPER].
[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:Calling UpdateSiteFiltersAcl
[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:CMDKey::GetData[/LM/W3SVC/Filters:6027:MD_ADMIN_ACL].
[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:CMDKey::GetData[/LM/W3SVC/Filters:6027:MD_ADMIN_ACL].
[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:22:9] OC_COMPLETE_INSTALLATION:Calling RunMofCompOnIISFiles
[1/24/2008 14:22:12] OC_COMPLETE_INSTALLATION:Calling LogWarningonFAT
[1/24/2008 14:22:12] OC_QUERY_STATE:[iis,iis_www] End. OCSELSTATETYPE_FINAL. IM_MAINTENANCE. Return=SubcompUseOcManagerDefault
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,sakit_web] Start. 0x0,0x0
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,sakit_web] End.  Return=0
[1/24/2008 14:22:17] OC_QUERY_STATE:[iis,sakit_web] End. OCSELSTATETYPE_FINAL. IM_MAINTENANCE. Return=SubcompUseOcManagerDefault
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,iis_asp] Start. 0x0,0x0
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,iis_asp] End.  Return=0
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:CMDKey::GetData[/LM/W3SVC:2168:2168].
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:CMDKey::GetData[/LM/W3SVC:2168:2168].
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:MyMessageBox: Title:IIS Setup Error, Msg:Error Getting IIS Metabase data.

0x8007054f=An internal error occurred.

[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:CMDKey::SetData[/LM/W3SVC:2168:2168].
[1/24/2008 14:22:17] OC_QUERY_STATE:[iis,iis_asp] End. OCSELSTATETYPE_FINAL. IM_MAINTENANCE. Return=SubcompUseOcManagerDefault
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,iis_internetdataconnector] Start. 0x0,0x0
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,iis_internetdataconnector] End.  Return=0
[1/24/2008 14:22:17] OC_QUERY_STATE:[iis,iis_internetdataconnector] End. OCSELSTATETYPE_FINAL. IM_MAINTENANCE. Return=SubcompUseOcManagerDefault
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,iis_serversideincludes] Start. 0x0,0x0
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,iis_serversideincludes] End.  Return=0
[1/24/2008 14:22:17] OC_QUERY_STATE:[iis,iis_serversideincludes] End. OCSELSTATETYPE_FINAL. IM_MAINTENANCE. Return=SubcompUseOcManagerDefault
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,iis_webdav] Start. 0x0,0x0
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,iis_webdav] End.  Return=0
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:....All OC_COMPLETE_INSTALLATION for all 'IIS' sections have been completed.....
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:MyMessageBox: Title:IIS Setup Error, Msg:IIS Setup encountered an error.  Please check the C:\WINDOWS\iis6.log file for further information.

[1/24/2008 14:22:17] OC_QUERY_STATE:[iis,iis_webdav] End. OCSELSTATETYPE_FINAL. IM_MAINTENANCE. Return=SubcompUseOcManagerDefault
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,iis_ftp] Start. 0x0,0x0
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,iis_ftp] End.  Return=0
[1/24/2008 14:22:17] OC_QUERY_STATE:[iis,iis_ftp] End. OCSELSTATETYPE_FINAL. IM_MAINTENANCE. Return=SubcompUseOcManagerDefault
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,appsrv_console] Start. 0x0,0x0
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,appsrv_console] End.  Return=0
[1/24/2008 14:22:17] OC_QUERY_STATE:[iis,appsrv_console] End. OCSELSTATETYPE_FINAL. IM_MAINTENANCE. Return=SubcompUseOcManagerDefault
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,dtcnetwork] Start. 0x0,0x0
[1/24/2008 14:22:17] OC_COMPLETE_INSTALLATION:[iis,dtcnetwork] End.  Return=0
[1/24/2008 14:22:17] OC_QUERY_STATE:[iis,dtcnetwork] End. OCSELSTATETYPE_FINAL. IM_MAINTENANCE. Return=SubcompUseOcManagerDefault
[1/24/2008 14:24:52] OC_CLEANUP:DebugLevel=3.
[1/24/2008 14:24:52] OC_CLEANUP:DebugValidateHeap=1.
[1/24/2008 14:24:52] OC_CLEANUP:GlobalFastLoad=1.
[1/24/2008 14:24:52] OC_CLEANUP:[iis,(null)] Start. 0x0,0x0
[1/24/2008 14:24:52] OC_CLEANUP: --- Display status of services which are required for IIS to run ---
[1/24/2008 14:24:52] OC_CLEANUP:SERVICE_RUNNING [LanmanServer].
[1/24/2008 14:24:52] OC_CLEANUP:SERVICE_RUNNING [LanmanWorkstation].
[1/24/2008 14:24:52] OC_CLEANUP:SERVICE_RUNNING [RpcSs].
[1/24/2008 14:24:52] OC_CLEANUP:SERVICE_STOPPED [NtLmSsp].
[1/24/2008 14:24:52] OC_CLEANUP:SERVICE_RUNNING [EventLog].
[1/24/2008 14:24:52] OC_CLEANUP:Executing PostInstall for the WWW component...
[1/24/2008 14:24:52] OC_CLEANUP:Calling RunMofCompOnIISFiles
[1/24/2008 14:24:54] OC_CLEANUP:InetStartService():ServiceName=W3SVC unable to start WARNING.  Err=0x54f.
[1/24/2008 14:24:54] OC_CLEANUP:!FAIL!
[1/24/2008 14:24:54] OC_CLEANUP:PostInstall of Component 'iis_www' FAILED
LVL 36
Seth SimmonsSr. Systems AdministratorAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Seth SimmonsConnect With a Mentor Sr. Systems AdministratorAuthor Commented:
I never found any solution or even a reason why...i reinstalled Windows.
0
 
meverestCommented:
I'd suggest:

1.  uninstall WSUS,
2.  uninstall IIS,
3.  reboot server
4.  install IIS,
5.  check that IIS is running OK,
6.  install WSUS.

Cheers!
0
 
Seth SimmonsSr. Systems AdministratorAuthor Commented:
I got rid of WSUS a while ago; at this point I'm just trying to get IIS working, then will try WSUS again.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
meverestCommented:
OK, then uninstall IIS reboot, install IIS.

Cheers.
0
 
Seth SimmonsSr. Systems AdministratorAuthor Commented:
I think you may have missed the last lines of my original statement....

"I have been looking around a lot on these errors (below) and not getting too far.  I have tried reinstalling IIS a few times, including after removing SAV 10.2 with no difference."

I have removed and reinstalled IIS, reapplied SP2 and did a number of reboots in between.
0
 
gkinuCommented:
I have exactly the same problem including prompts about installing unencrypted metabase. Any solution? It is so frustrating. The funny thing is that in IIS Admin,  it now shows IIS5.0 instead of 6 even though i have installed from the same 2003 CD as i have all along been doing.
0
All Courses

From novice to tech pro — start learning today.