SharePoint Configuration Wizard on Windows 2008 + SQL 2008 environment | SQL Exception

(Article by Henry Ong)

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.


Fonte:
http://blog.henryong.com/2009/07/21/sql-exception-when-trying-to-run-sharepoint-configuration-wizard-on-windows-2008-sql-2008-environment

Comments

Popular posts from this blog

Breaking down document locking in SharePoint

Working around X-Frame-Options for iframes

Document ID not being generated