Solved

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

Posted on 2011-09-15
9
464 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
ID: 36546762
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
ID: 36547493
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
ID: 36550304
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
Are your AD admin tools letting you down?

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 59

Expert Comment

by:Kevin Cross
ID: 36550862
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
 
LVL 1

Author Comment

by:ChocolateRain
ID: 36568146
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
ID: 36568283
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
ID: 36590295
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
ID: 36590401
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
ID: 36941307
Found my own solution again.
0

Featured Post

Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
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:…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

730 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