October 11, 2007 at 11:12 am
Sounds to me that you're now actually talking to the server (meaning - we've managed to get the error to change).
18452 in a "pure windows" mode can be a problem if the SQL Server service account doesn't have certain permissions. Here is the TID link:
http://support.microsoft.com/kb/840219/en-us
More likely than not - it's the "impersonate a client after authenticate" that's goofing you right now, but they're ALL important (at different phases of processing).
Now - the other "big" reason for this error is because you should be in mixed mode (meaning - the application is trying to connect using a SQL account, and the server doesn't allow that in its current config).
----------------------------------------------------------------------------------
Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?
October 11, 2007 at 12:35 pm
that error was from yesterday. here is the new error after i created an alias:
TITLE: Connect to Server
------------------------------
Cannot connect to WINSERV1.
------------------------------
ADDITIONAL INFORMATION:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - No such host is known.) (Microsoft SQL Server, Error: 11001)
October 11, 2007 at 2:46 pm
what did you put in to define the alias, field by field?
What settings do you have (field by field) in the TCPIP settings under
SQL Server 2005 Network Configuration Settings, Protocols for {instancename}?
----------------------------------------------------------------------------------
Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?
October 12, 2007 at 8:21 am
When you create a named instance you should connect as as servername\instancename, so you should try servername\WINSERV1
Additionally, have you tried to connect to the server with the specified port?
ie. servername\WINSERV1,1433 (Use whatever port you are using)
October 12, 2007 at 9:02 am
sorry guys. im back to the error where i can connect but dont have the permissions.
TITLE: Connect to Server
------------------------------
Cannot connect to winserv1.
------------------------------
ADDITIONAL INFORMATION:
Login failed for user ''. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452)
ive been told that if im not connecting to a domain, i have to use sql auth and logon with a username and password. do i need to reinstall to specify a username and password?
October 12, 2007 at 9:07 am
you created an SA account when you setup the instance. Login using sa and setup a sql login for yourself.
October 12, 2007 at 9:38 am
I believe the issue is that the server has not been set up to allow remote connections (what we used to call mixed mode in sql 2000, right?)
i think you just need to make sure this is checked under Server Properties>> Connections
Lowell
October 12, 2007 at 9:47 am
Lowell,
andrewbrinker stated that he used surface area config. to allow remote connections via tcp. Shouldn't surface area conf update this setting when it implements the change to allows remote connections?
October 12, 2007 at 9:50 am
i just checked properties, i am allowing remote connections. i have gone into the security policy and added the administrator to the policies, the windows user object couldnt be found. still no connection. ill try to log into the sa account and create a user for sql auth. i do that from the server, right? is there a default password for sa?
October 12, 2007 at 10:08 am
If you chose mix mode authentication, you should have been prompted to create a password.
login using sa and the password.
If you chose windows authentication, the sa is disabled by default.
Someone with more rights will have to login. Anyone in the builtin\administrators group can get into the instance and create a login. If this is going to be your instance and database, you can have your windows login added to this group.
below is an article displaying how to change authentication methods.
October 12, 2007 at 10:18 am
im in with sql auth. thanks everyone for all your help
October 12, 2007 at 10:54 am
June 2, 2008 at 7:44 pm
andrewbrinker (10/12/2007)
im in with sql auth. thanks everyone for all your help
i used management studio -> Browse for Servers -> Network Servers, but i cannot see the server that i want to connect...
can explain to me how you in with sql auth?
i still cannot make it :crazy:
Viewing 13 posts - 16 through 27 (of 27 total)
You must be logged in to reply to this topic. Login to reply