SQL Exception when trying to run SharePoint Configuration Wizard on Windows 2008 + SQL 2008 environment

July 21st, 2009 § 3 Comments

Some of you guys probably already figured this out but I haven’t built a new farm in awhile and this got me scratching my head so I thought I’d write it down so I don’t forget again.

Environment

2 Server farm (1 WFE, 1 SQL)
Windows 2008 STD for both (basic configurations)
WSS v3 SP2
SQL Server 2008

Scenario

After installing the WSS bits, I run the SharePoint Configuration Wizard to create Central Admin. After submitting the database server, name and credential information I get the following error:

An exception of type System.Data.SqlClient.SqlException was thrown.  Additional exception information: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server)

System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server).

Resolution

The TCP port to the SQL Database Engine is blocked by the Windows Firewall. Create a new rule to allow inbound traffic to port 1433.

Advertisement

§ 3 Responses to SQL Exception when trying to run SharePoint Configuration Wizard on Windows 2008 + SQL 2008 environment

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading SQL Exception when trying to run SharePoint Configuration Wizard on Windows 2008 + SQL 2008 environment at The SharePoint Swiss Army Knife.

meta

Follow

Get every new post delivered to your Inbox.

Join 584 other followers