Cannot connect to the configuration database.

by | Nov 8, 2010 | Development, SharePoint, SQL server | 0 comments

Today I’ve faced strange problem and I spent a few hours to solve it. I’ve installed my new SharePoint 2010 sever for development – nothing special. But when I created first top level site and try to display it http://ServerName I get error: ”Cannot connect to the configuration database”. What’s up? I’ve tried different things: reset passwords, delete and create managed account and site, without result. Finally I’ve tried to check SQL Server 2008 R2 logs and strange I don’t have access as local administrator? How it’s possible? Well I’ve read somewhere (don’t remember where) that when install SQL Server with windows domain account this account will have granted all necessary right and then it’ will also fine for SharePoint installation. Bullshit!

SharePoint Installation account (System account) needs SQL Server role: “SYSADMIN”! Without that this account will create all stuffs but I will not be able to grant all necessary settings for new application poll and managed account! And exacly what happened in my case. My SQL Sever and SharePoint system account hasn’t role sysadmin…

image

And then you will get error: “Cannot connect to the configuration database”.  You need to grant this role and recreate website and web application from the begging and all works fine.
[adblockingdetector id=”5770e6ed85560″]

Written by Tomasz Szulczewski

Hi, my name is Tomasz Szulczewski, and I have been in love with information technology for over 25 years, but I still have an IT passion and feel like a geek. I am a person who is problem solver who thinks that not all people must be experts in IT.

Related Posts

What is SharePoint in Office 365?

What is SharePoint in Office 365?

What is SharePoint in Office 365, and why is SharePoint for small business the critical product? So you bought a Microsoft 365 license, and your tenant is online. You open a browser, and you have no idea what to do next? Don't worry; I will try to give you a few...

read more
Hubfly

Hubfly

A few days ago I have a chance to play with SharePoint online solution called Hubfly and I was really impressed with his capabilities. And here is my review. So let’s start from the begging. I wrote a few times on this blog that the main problem with SharePoint is...

read more

0 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.