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:

URL: jdbc:sqlserver://

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

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
Sr. System Analyst

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

Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros