SBS 2011 - Companyweb - Cannot connect to the configuration database

When trying to browse http://companyweb from a workstation we get the "Cannot connect to the configuration database." error.

I get the exact same message when trying to access SharePoint 2010 Central Administration.

We are also getting the following errors logged in the event viewer.

System Log ------

Event ID 7031 - The SharePoint 2010 Timer service terminated unexpectedly.  It has done this 67 time(s).  The following corrective action will be taken in 30000 milliseconds: Restart the service.
Event ID 7024 - The SharePoint 2010 Timer service terminated with service-specific error %%-2147467259.

I have also tried running "PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures" but it errors on task 4 of 6 - Installing the application content files.

Any help would be greatly appreciated. Thanks in advance.
Who is Participating?
Rick HobbsRETIREDCommented:
Cris HannaCommented:
Are you running that from an Elevated Command Prompt?
Rick HobbsRETIREDCommented:
Was it working previously?  If so, it is a known KB error and the fix would be a freebee call to MS.
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

kacklandAuthor Commented:
Thanks for responding quickly!

CrisHanna_MVP - yes I did run this from an elevated command prompt but still fails.

rickhobbs - It was working fine but one morning earlier this year just started throwing up the 'Cannot connect to configuration database...' message.
Will call MS to see if they will resolve this for free.

Thanks both of you. Obviously if either of you have any further suggestions then let me know.
Did you add any secondary Ip addresses on the server?
I had this issue today after I recently added a secondary IP address under IP4 TCP/IP properties for testing something. I removed the address, restarted IIS and it was working again.
kacklandAuthor Commented:
Sorry for the delayed response.

CoSmismgr - I haven't added any new IPs.

I have since deleted the database, created a new one however I'm now having issues with the SharePoint managed accounts - the page fails to load and I cannot figure out how to delete/recreate these settings.

Does anyone have any tips on reinstalling companyweb/SharePoint on SBS 2011? The data is no longer important.
Rick HobbsRETIREDCommented:
Is the SharePoint Timer Service Account a member of local admin?  If it isn't, as Picard says, "Make it so."
kacklandAuthor Commented:
I followed the instructions provided however did find they seem to be ever so slightly incomplete. Either way I eventually solved the issue by wiping and reinstalling/rebuilding companyweb from scratch. THanks for your help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.