Solved

Issue with Connecting a 2003 R2 server to a 2008 R2 MSSQL Express instance

Posted on 2011-09-15
9
456 Views
Last Modified: 2012-06-27
Trying to link a 2003 website with a 2008 R2 SQL database.

I setup the Client Tools for the 2003 server so it could (theoretically) establish a connection with a 2008R2 SQL instance.  This is a 2008R2 Express install.

The latest error I've been getting is:

Microsoft SQL Server Native Client Version 10.50.1600

Running connectivity tests...

Attempting connection
[Microsoft][SQL Server Native Client 10.0]SQL Server Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF].
[Microsoft][SQL Server Native Client 10.0]Login timeout expired
[Microsoft][SQL Server Native Client 10.0]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.

TESTS FAILED!


The firewall is off.  The named pipes TCP/IP and other connectors are all turned on.  I can't connect to this server instance (to browse and see databases from any ODBE or connection string through a .UDL file) from any machine.

Anyone have any ideas?  Is it possible to get these two different machines or server types to talk to each other?
0
Comment
Question by:ChocolateRain
  • 4
  • 4
9 Comments
 
LVL 59

Expert Comment

by:Kevin Cross
Comment Utility
Hi.

Since this is SQLExpress, you should connect to it as SERVERNAME\SQLEXPRESS unless you explicitly installed as another named instance or the default instance. Check that first.
0
 
LVL 5

Expert Comment

by:VENKAT KOKULLA
Comment Utility
please check out the below points:

1) First check it's a named instance or default--if it's default instance try to connect as 'local', if it's a named instance try to connect as 'SERVERNMAE\INSTANCENAME'.

2) please make sure SQLBrowser service is running

3)  Please check the errorlog for the sql express instance and make sure
TCPIP and Named pipes are enabled. You shall also see the port for

C:\Program Files\Microsoft SQL Server\MSSQL.x\MSSQL\LOG

4) Try different protocols by using SQLCMD to test

sqlcmd -S np:\\127.0.0.1\pipe\MSSQL$instancename\sql\query
sqlcmd -S tcp:servername\instancename
sqlcmd -S tcp:servername\instancename,portnumber

Note: You may need to change the servername, instancename, portnumber
properly according to your server configurations.

Go through this link mite helpout:
http://blogs.msdn.com/b/sql_protocols/archive/2005/10/22/sql-server-2005-connectivity-issue-troubleshoot-part-i.aspx

If you have any update, please feel free to let us know.
0
 
LVL 1

Author Comment

by:ChocolateRain
Comment Utility
Ok, the server instance name is AGCV0080\SQLEXPRESS.

The SQLBrowser service wasn't running but it is now.
I don't see the named pipes in the log file.

Although the "sqlcmd -S np:\\127.0.0.1\pipe\MSSQL$instancename\sql\query" command shows me a new prompt, which I assume it is a query prompt in the server.
0
 
LVL 59

Expert Comment

by:Kevin Cross
Comment Utility
Is AGCV0080\SQLEXPRESS what you are using in the tests where you got failures earlier? If not, then try with that and post back.
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 1

Author Comment

by:ChocolateRain
Comment Utility
What it turned out to be is a certain ESXi host.  For some reason that I've yet to get to the bottom of, when this VM was running on this ESXi host it wouldn't allow connections between the SQL server and any VM or PC trying to connect to it.  

Strange.  Anyone seen that before?  Anyone want to guess the cause of it?

Didn't think a problem like this would be solved via vMotion, but there it is.
0
 
LVL 59

Expert Comment

by:Kevin Cross
Comment Utility
I have seen issues where a blue screened or failed VM flooded network interface and so caused problems. Other than failures and silly things like when using templates you may end up with the same SID on all guests, that sounds strange. Glad you found it though.

What was running on that VM? Maybe it was a conflict similar to a failed VM. For example, if that VM was running software that is network intensive it could have the same effect. Check configuration on the NIC, ensure it is not acting as a router/firewall; otherwise, you may have trouble where you VMotioned it to.
0
 
LVL 1

Accepted Solution

by:
ChocolateRain earned 0 total points
Comment Utility
One of the ports that the ESXi server was connected to for its default VLAN connection was set as an "Auto" port on the HP Procurve switch side.  This was causing other weird problems.  It should've been in the Default VLAN untagged and tagged for the DAG and VOIP network.

0
 
LVL 59

Expert Comment

by:Kevin Cross
Comment Utility
Good find. That way you won't end up with the issue again in the future.
Best regards, Kevin
0
 
LVL 1

Author Closing Comment

by:ChocolateRain
Comment Utility
Found my own solution again.
0

Featured Post

Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

Join & Write a Comment

Suggested Solutions

In this article I will describe the Backup & Restore 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.
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.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

743 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