locked
Error: 1068 The dependency service or group failed to start... RRS feed

  • Question

  • User1033281131 posted

    Hi,

    I have some prob with my IIS7 as you can see. When I try to start the World Wide Web Publichsing Service in Server Manager > Services (in Windows Server 2008) I get the following error:

    Error: 1068 The dependency service or group failed to start.

    Anyone?

    Thank you!

    Friday, November 21, 2008 2:20 PM

Answers

  • User511787461 posted

    Try restoring a backup from \inetpub\history folder.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Thursday, November 27, 2008 2:51 PM

All replies

  • User511787461 posted

    The services that w3svc depends on are WAS and HTTP services - what errors do you get when trying to start either of those services?  Also, any events in the eventlog from either of those services?

    Friday, November 21, 2008 2:29 PM
  • User1033281131 posted

    Hi!

     Thank you for your quick answer!

     Yes I do have some WAS errors in my event log...

    I cant find the HTTP service?

     

    /Thanks!

    Friday, November 21, 2008 2:37 PM
  • User511787461 posted

    And what do the errors say?

    Friday, November 21, 2008 2:40 PM
  • User1033281131 posted

    Log Name:      System
    Source:        Microsoft-Windows-WAS
    Date:          2008-11-21 20:38:53
    Event ID:      5172
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      WIN-CWW8Y1A5YBS
    Description:
    The Windows Process Activation Service encountered an error trying to read configuration data from file '\\?\C:\Windows\system32\inetsrv\config\applicationHost.config', line number '1'.  The error message is: 'Configuration file is not well-formed XML
    '.  The data field contains the error number.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
        <EventID Qualifiers="49152">5172</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2008-11-22T04:38:53.000Z" />
        <EventRecordID>24570</EventRecordID>
        <Correlation />
        <Execution ProcessID="0" ThreadID="0" />
        <Channel>System</Channel>
        <Computer>WIN-CWW8Y1A5YBS</Computer>
        <Security />
      </System>
      <EventData>
        <Data Name="File">\\?\C:\Windows\system32\inetsrv\config\applicationHost.config</Data>
        <Data Name="LineNumber">1</Data>
        <Data Name="Error">Configuration file is not well-formed XML
    </Data>
        <Binary>0D000780</Binary>
      </EventData>
    </Event>

    Friday, November 21, 2008 2:45 PM
  • User989702501 posted

    Your config file messed up. do you have backup or ? or look at line 1 of the config file.

    Sunday, November 23, 2008 11:17 PM
  • User1033281131 posted

    I checked the config file... the XML document... it's empty???

    Thursday, November 27, 2008 7:20 AM
  • User511787461 posted

    Try restoring a backup from \inetpub\history folder.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Thursday, November 27, 2008 2:51 PM
  • User-384387307 posted

    try adding the followig tags in the wwwroot folder web.config file.  These tags should be added as a child of the configuration tags as below.

    <configuration>

     <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    </system.webServer>

    </configuration>

    Wednesday, December 1, 2010 3:28 AM
  • User989702501 posted
    this is a 2 yrs old thread, dude. and OP is having config file issue, the validation element is to address issue related to migration from class .net mode to integrated mode.
    Wednesday, December 1, 2010 11:38 PM
  • User1833774804 posted

     

     "Try restoring a backup from \inetpub\history folder."

     

     Excellent tip, you just saved my life, thanks!

    Thursday, February 17, 2011 2:39 PM
  • User-2005752894 posted

    Hi,

    I am having the similar error..but dont hv the backup...can you help... 

     

    Monday, March 28, 2011 11:25 AM
  • User989702501 posted

    Can you post the full error msgs ?

    Wednesday, March 30, 2011 9:56 PM