SQL Server Does Not Exist or Access Denied

I was unable to see my SQL 2012 Server from my Applications Server and was getting the error “SQL server does not exist or access denied.

I checked in the SQL Server Configuration Manager that TCP/IP was enabled.

I also checked in SQL Management Studio that the SQL Server Agent was running and in the properties of the server, within Connections, that the “Allow remote connections to this server” setting was enabled.

The cause of the issue was the Windows Firewall on the SQL Server. I added the following to the Inbound Rules of the Firewall.
Firewall - SQL Server Ports
The program file paths I used are below.

SQL Browser: %ProgramFiles% (x86)\Microsoft SQL Server\90\Shared\sqlbrowser.exe
SQL Server: %ProgramFiles%\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Binn\sqlservr.exe

I was now able to select my SQL server from my Application Server.

Advertisement
Tagged with: , , , ,
Posted in SQL

Leave a Reply

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

WordPress.com Logo

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

Facebook photo

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

Connecting to %s

%d bloggers like this: