Solved

Unable to query SQL Server 2008 SP2 on Windows Server 2008 ?

Posted on 2011-03-16
7
451 Views
Last Modified: 2012-05-11
Hi,

I have successfully configured Windows Server 2008 Enterprise SP2 with SQL Server 2008 Enterprise SP2 all 64 bit,
however when I tried to access this particular SQL Server 2008 DB instance from another SQL Server 2008 SSMS in another Windows Server 2008 it failed ?

what I did is to disabled the IPv6 IP address using the regedit but still the problem hasn't been fixed even after restart ?

I have enabled the named piped as well but still no luck ?

any help please ?
TITLE: Connect to Server
------------------------------

Cannot connect to SIDBP06\PRODSQL.

------------------------------
ADDITIONAL 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

Open in new window

0
Comment
Question by:jjoz
7 Comments
 
LVL 19

Expert Comment

by:Rikin Shah
ID: 35154281
May be firewall on the server has refused the connection? Check if any...
0
 
LVL 9

Assisted Solution

by:kaminda
kaminda earned 250 total points
ID: 35154442
Does the server configuration is enabled to accept remote connections? This link will help you to sore out the issue if it is not enabled

http://kaminda.blogspot.com/2009/03/enable-remote-connections-in-sql-server.html
0
 
LVL 1

Author Comment

by:jjoz
ID: 35155198
Yes The firewall has been turned of, and port 1433 is listening in ip 0:0:0:0
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 1

Author Comment

by:jjoz
ID: 35155199
Yes The firewall has been turned of, and port 1433 is listening in ip 0:0:0:0
0
 
LVL 9

Accepted Solution

by:
rajeevnandanmishra earned 250 total points
ID: 35156500
Please check and configure the proper protocols using Network Configuration of SQL Server.
You may need to enable the TCP protocol.

0
 
LVL 1

Author Comment

by:jjoz
ID: 35161460
or is this because I am running 2 instances of the DB in the same server (Physical box) ?
0
 
LVL 1

Author Comment

by:jjoz
ID: 35161763
ok, the lesson learnt here is that:

1. make sure that firewall is always OFF - I don't know why it is tur ON by itself after system reboot (due to I disabled IPv6 from the NIC) ?
2. difference instance of DB needs different port as well.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now