System.InvalidOperationException – Cannot start the service SPAdmin on computer


 While creating a new SharePoint 2007 SP3 farm with one of my customers, both WFE servers and the App server complained of failures during the running of the SharePoint Products and Technologies Configuration Wizard.

The first error, which all three of the SP servers complained about, seems to have been caused by an inability to start the SharePoint Admin service. 

The error was:

SharePoint Products and Technologies Configuration Wizard

Configuration Failed

One or more configuration settings failed.  Completed configuration settings will not be rolled back.  Resolve the problem and run this configuraiton wizard again.  The following contains detailed information about the failure:  Failed to create the configuration database.

An exception of the type System.InvalidOperationException was thrown.  Additional exception information: Cannot start the service SPAdmin on computer '.'.

To diagnose the problem, review the applicaton event log and the configuration log file . . . PSCDiagnostics....log

 

The log file just said what we already knew: "An exception of type System.InvalidOperationException was thrown.  Additional exception information: Cannot start service SPAdmin on computer '.'."

When we tried to start the Windows SharePoint Services Administration service, it wouldn't start and gave this error: 1053 service did not respond in a timely fashion.  Error1053 : service did not respond to the start request in a timely fashion Cannot start service SPAdmin on computer ‘.’

But the configuration database was created, contrary to the error. 

In line with kb 916894 we changed the Network DTC Access to allow remote clients, restarted DTC, disjoined the servers from the farm, deleted the configdb, and ran the config wizards again.  But we got the same errors on all three servers. This didn't help at all.

We restarted the SharePoint Products and Technologies Configuration Wizard on the first server and it completed without any errors. The first server was able to run Central Admin just fine and everything looked good. The SharePoint Admin service started without any problem.  We ran the config wizard on the
second and third servers and they too completed without any complaint.  But the second and third servers did not show up in the list of servers in the farm from Central Admin's view. 

We disjoined all three servers from the farm, deleted the config-db and centraladmin-db and started over.  We ran into the same problem on all three servers--the SharePoint admin service wouldn't start and the wizard complained in the same way.

We ran [%Program Files%\CommonFiles\Microsoft Shared\Web server extensions\12\BIN\psconfig -cmd upgrade-force -inplace b2b] -wait on the first server and then the SharePoint admin service started up fine.  The wizard completed fine. 

We ran the psconfig upgrade command on the second and third servers (after they gave their first error) and then we were able to start up the SharePoint admin service on them too.   We completed the config wizards and so far everything looks healthy.

Didn't get to determine the real root cause for this problem.  Hopefully this helps somebody else.  

 


Comments (5)
  1. I might delete this post soon.  As a follow-up, this customer had problems getting the SSP configured successfully.  So he decided to flatten the farm and reinstall with RTM (instead of slip-streamed) bits.  If we run into the same problem again with RTM bits, I'll probably end up debugging it.

  2. Christoph Muelder says:

    Hi,

    just had the same issue. It is an issue with connection to crl.microsoft.com. Give the machine internet access temporarily or disable certifcate revocation check in IE advanced settings.

    Christoph

  3. SPfrustrations says:

    I am experiencing the same issue trying to run the config wizard after the December 2012 CU.  I have installed a lot of updates previous to today without issue, so I am not sure what is different about this one.  

    Have tried the psconfig thing, with mixed success.  Will look into the crl.microsoft.com thing to see if that does it.

    Thanks.

  4. Scott Strausbaugh says:

    Here is what we experienced.

    Issue 1

    After applying MS12-050 hotfixes (KB2553194, KB2553424, KB2553365) the SharePoint Administration Service fails to start (spadminv4)

    Root cause:

    Servers do not have Internet access to verify digital signature

    Resolution:

    From blogs.msdn.com/…/9945103.aspx (currently not loading)

    1. Browse to 14 Hive, BIN directory
    
    2. Create a new file called WSSADMIN.EXE.CONFIG
    
    3. Edit with Notepad
    
    4. Insert
    
    <configuration> 
    
        <runtime> 
    
            <generatePublisherEvidence enabled="false"/> 
    
        </runtime> 
    
    </configuration>
    
    5. Start the service
    

    Issue 2

    After applying a hotfix or Cumulative Update, the SharePoint Timer service fails to start

    Root Cause:

    Windows Hotfix KB 2677070

    social.technet.microsoft.com/…/850d9823-2c7c-4557-8e85-904a59f73704

  5. Said Al Balushi says:

    I was getting the same error, I just enable internet and it works for me. Thanks

Comments are closed.

Skip to main content