Solved

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

Posted on 2011-03-16
7
448 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
Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer 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

Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

Join & Write a Comment

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

707 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

11 Experts available now in Live!

Get 1:1 Help Now