Can't connect to my SQL server

Associate
Joined
25 Jul 2004
Posts
803
Location
.
I'm a bit desperate for some help, and would appreciate any you can give.

I have SQL Server 2005 set up on a spare machine I have on my network. I'm trying to upsize an Access Database and/or create an ODBC data connection, but I keep getting the following message:


Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user ''. The user is not associated with a trusted SQL Server connection.


I have changed the server authentication to mixed, but still no joy.

Oh, and although the SQL Server is installed on a spare machine, its running on a virtual OS.

Thanks for reading.
 
Ok, so to check I have this correct. You have a SQL 2005 instance installed on a virtual OS and you are trying to connect to it remotely.

Where are you trying to connect from?
Are both the SQL server and remote device in the same domain?
Are you trying to auth with SA or a Windows account?
Did the error message include a user account or is what you posted the full message?
What version of SQL 2005? Standard / Enterprise or is this the cut down Express?
 
Hi Gord

Thanks for getting back to me.

I am trying to connect with my laptop on the same home LAN.
I don't have a domain, but they are both in the same workgroup.
I am trying to connect with Windows Authentication.
I am using SQL 2005 Standard.

The error message posted in my previous post is what I'm still getting.

Although when trying to create an ODBC connection, I am unsure whether I should have a tick in "connect to SQL Server to obtain default settings for the additional configuration options." Also, should there be anything in the Login ID / Password fields (even if grayed out)?
 
I have enabled remote connections via the servers properties, but I don't know about named pipes - how would I check this?

Thanks
 
Gord, using SQL auth works fine. Although I did try the first method mentioned in your link, but that still doesnt work.

Thanks for your help.
 
Back
Top Bottom