By Eric Harlan
Published: May 28, 2010
Updated: May 28, 2010
Print    Email




Short post but hopefully it provides some value

Ran into a strange issue today. Was working on a SharePoint environment in VM’s.  We ran through our install once and for some reason had to revert back. Once we reverted back for some reason we kept running into the error:

Cannot connect to database master at SQL server at {ServerName}. The database might not exist, or the current user does not have permission to connect to it.

The Database surely existed and I know I had permission. So what changed? Apparently pre-roll back the ports for the database were not opened.

Go to the Database Server > Start > Control Panel > Windows Firewall

On the left side, choose “Advanced Settings”

On the left of the New Advanced Settings window select “Inbound Rules”

One the right side pane,  select “New Rule”




Select the “Port” radio button and hit “Next”

Leave “TCP” selected and under “Specific local ports” add “1433-1434” and hit “Next”

Choose how you want to secure the connection and hit “Next”

 

Choose when you want the rules to apply and hit “Next”

Give it a name and a description and hit “Finish”

There you go the error should go away now. Happy installing.


Submit Article

37910 Views - View Comments (8)

Twitter Feed @ericharlan

Latest Blog

Weight Loss or Bust - So did it work?
Updated: January 2, 2012

SharePoint Search and DisableLoopBackCheck
Updated: December 18, 2011

SharePoint Conferences 2011 + Asia
Updated: November 15, 2011

It’s sick, but I love the turbulence.
Updated: November 15, 2011

Cruise on up to the Med
Updated: October 22, 2011

SPC11 MSPFE Meet and Greet
Updated: September 30, 2011

Ebay, you reek of Idiocy
Updated: July 6, 2011

Hard CORE AD Core setup for SharePoint
Updated: May 31, 2011
  [1] 2 3 ... 16   Next

Blogs I Frequent

Connect

 


  

 

 

Locations of visitors to this page

RSS Syndicator