Solved

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

Posted on 2011-03-16
7
457 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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 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.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

828 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