Re: connection failure
- From: "Hari Prasad" <hari_prasad_k@xxxxxxxxxxx>
- Date: Sat, 20 Jan 2007 06:23:01 -0600
Hello,
Login as a login Administartor and connect to SSMS. then execute the below
query to create a windows login into SQL Server.
CREATE LOGIN [Lyr\MattiasSchlipp] FROM WINDOWS
go
USE databasename
go
CREATE USER [Lyr\MattiasSchlipp] FOR LOGIN [Lyr\MattiasSchlipp]
go
After execution login again as the old os user into operating system and try
connecting to SSMS.
Thanks
Hari
"Mattias" <Mattias@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0F120340-2D47-46FD-9B49-BF0439D7B8CD@xxxxxxxxxxxxxxxx
Hi
I have set up the set up the SQL Server 2005 developer, and thought it was
ok until trying to connect to the server via SQL Server Management studio,
I recive the below error.
hope anyone can help me out here.
Mattias
===================================
Login failed for user 'Lyr\Mattias Schlipp'. (.Net SqlClient Data
Provider)
------------------------------
For help, click:
http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18456&LinkId=20476
------------------------------
Server Name: LYR
Error Number: 18456
Severity: 14
State: 1
Line Number: 65536
------------------------------
Program Location:
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
exception, Boolean breakConnection)
at
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior,
SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet
bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean
enlistOK)
at
System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo
serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64
timerExpire, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String
host, String newPassword, Boolean redirectedUserInstance, SqlConnection
owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection
owningObject, SqlConnectionString connectionOptions, String newPassword,
Boolean redirectedUserInstance)
at
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity
identity, SqlConnectionString connectionOptions, Object providerInfo,
String
newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions
options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection
owningConnection)
at
System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection
owningConnection, DbConnectionPoolGroup poolGroup)
at
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection
owningConnection)
at
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at
Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorer.ValidateConnection(UIConnectionInfo
ci, IServerType server)
at
Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
.
- Follow-Ups:
- Re: connection failure
- From: Mattias
- Re: connection failure
- References:
- connection failure
- From: Mattias
- connection failure
- Prev by Date: connection failure
- Next by Date: Re: connection failure
- Previous by thread: connection failure
- Next by thread: Re: connection failure
- Index(es):
Relevant Pages
|