Connection to SQL 2008 R2
NickName:Mohammad Alsukar Ask DateTime:2015-04-30T17:40:18

Connection to SQL 2008 R2

i have a windows server 2008 set up as a database server, i used to have MS SQL 2005 installed on it, due to some client changes i installed SQL 2008 R2 along with the 2005, the R2 is with a named instance. when i tried to connect an application to the 2008 R2 database, i get:

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: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)

i am sure of the ports as i checked the named instance configuration on the DB server, i also telnet the dynamic IP from the application server and it is going through. i also tried to connect a copy of the application from a demo server i have with the same configuration as the application server and it was successful. from the application server it is not, any suggestions?

Copyright Notice:Content Author:「Mohammad Alsukar」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/29964232/connection-to-sql-2008-r2

More about “Connection to SQL 2008 R2” related questions

Connection to SQL 2008 R2

i have a windows server 2008 set up as a database server, i used to have MS SQL 2005 installed on it, due to some client changes i installed SQL 2008 R2 along with the 2005, the R2 is with a named

Show Detail

PHP connection to MS SQL Server 2008 R2

I am implementing a PHP application that needs to be able to connect to both MS SQL Server 2012 and 2008 R2. Connection to 2012 works OK with this configuration Windows 7 64-bit IIS 7.5 PHP 5.5.1...

Show Detail

DB Connection works with SQL Server 2008 R2, but not with SQL Server 2014

I have to update a very old site using classic ASP and SQLOLEDB but the connection to SQL Server doesn't work using SQL Server 2014. It works for my client using SQL Server 2008 R2, but it doesn't...

Show Detail

Connection string of SQL Server 2008 R2 silent install

I have a Windows application that works with a local database (SQL Server 2008 R2). I'm trying to create an install for my application. I want the installer check if SQL Server 2008 R2 is availabl...

Show Detail

restore SQL 2008 DB R2 to SQL2008 (no r2)

on my developper pc is installed SQL 2008 R2 on the internal server is installed SQL 2008 R2 (some applications are hosted here) on the external 3.rd party hosting company uses SQL 2008 (no r2)....

Show Detail

connecting sql server 2008 r2 to netbeans

i want to create an java application which has to create a database and later access it. My problem is that i am not able to connect sql server 2008 r2 database driver on to the netbeans.i have sql

Show Detail

SQL Server 2008 R2 connection string

HI people. I had SQL Server 2005 on Windows XP 32bit and just used this connection string Server=.\SQLEXPRESS;database=GroupALD; Integrated Security=True" Now I have Windows 7 64bit and SQL Ser...

Show Detail

SQL Server 2008 R2 Periodically Does Not Accept Connections

I have a problem about connection pooling on Sql Server 2008 R2 environment (OS is Windows Server 2008 R2 X64). I am periodically seeing this in Sql Server error logs: Event ID: 18056

Show Detail

SQL Server 2008 r2 instance/network connection error

I had installed SQL server 2008 r2 on my computer and created a database. I accidentally moved the SQL server folder from my local drive, where it was installed, to E Drive. Now when i copy it agai...

Show Detail

SQL Server 2008 R2 on Server 2012 R2 web site connection issue

I have been using this connection string with no problem on a number of databases and MS operating systems. Windows Server 2003, 2008 R2 and 2012 R2 Eval, all Express versions. I am now trying to ...

Show Detail