Sharepoint Foundation configuration cannot connect to database master

Posted on 2011-10-13
Last Modified: 2012-05-12
I am trying to get Sharepoint Foundation on a Win 2008R2 server. The server is a domain controller. I get the error "Cannot connect to database master at SQL server at DC. The database might not exist, or the current user does not have the permission to connect to it."
So far what I could find is the firewall, which I have off, SQL server pipes are all enabled, and the administrator user is the user I am using to get this going. I downloaded and installed Microsoft SQL Server 2008R2, but there is also Microsoft SQL Server 2005 installed. I am trying to create a new farm. I have Sharepoint 2003 on a member server that I want to get rid of, but I didn't think that would screw this up.
Also in the management studio for SQL 2008R2 the administrator has dbcreator and security administrator rights. What could I have missed? Thanks!!
Question by:LunaRavenscroft
    LVL 14

    Accepted Solution

    First of all, it is bad practice to install SharePoint on your Domain Controller. You should use a seperate server.
    Secondly, you have to make sure the firewall is off on both servers.

    Author Comment

    Does this mean that it just doesn't work? The firewall is not the problem.
    LVL 14

    Expert Comment

    It doesn't mean it won't work :) It's just considered not to be best practice.
    You are sure that you are pointing to the correct instance?

    Author Closing Comment

    I think that installing Sharepoint on a DC doesn't get a good enough install as it should so I am taking your advice and will try and get a different server to put it on.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
    The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now