Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Unable to connect to SQL Server 2005 database on Virtual Machine

Avatar of Mark
Mark asked on
Microsoft SQL Server
8 Comments1 Solution184 ViewsLast Modified:
I have installed an XP virtual machine on a Linux host. Everything seems to work OK except I cannot connect to the database from clients elsewhere on the LAN. I am using port 1433. I *can* telnet to this port, so that tells me the SQL Server is listening to this port on the VM, but when I try to connect I get the error:

Status: 4064 Cannot open user default database. Login failed. ClientConnectionId:d5cd574a-3189-4831-8245-5ab0abc3124b

connection string is:

Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
URL: jdbc:sqlserver://

I can still successfully connect to the original, physical XP host. Its connection string is:

Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
URL: jdbc:sqlserver://;

I've checked SQL Configuration Manager > Protocols ... > TCP/IP, and that looks OK - Any ideas where I might look?
SQL Configuration Manager
Avatar of HainKurt
HainKurtFlag of Canada imageSr. System Analyst

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answers