Re: Can't login to SQL Server
- From: "Klerman Gutierrez" <mcs@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 25 Jan 2008 18:58:43 -0430
Erland,
I did a backup in SQL Server 2000 and restored it in SQL Server Express SP2.
Once restored the database, I ran a stored procedure in SQL Server Express
that creates those users for me since SQL Server 2000 times.
To connect to the database I'm using SQLCMD from the Vista server and with
OSQL from a W2000 workstation.
I can connect to the database with the SA user and with the user A which
belongs to the sysadmin role. The data seems to be fine as I can execute
SELECTs.
But with the user B, that only belongs to the db_datareader and
db_datawriter roles I receive the message (I'll translate from spanish not
literally): "Message 18456. Login error for user B".
I inspected the SQL tables and found that user B is a SQL login, and also a
database user.
Sincerely
Klerman Gutierrez
.
- References:
- Can't login to SQL Server
- From: Klerman Gutierrez
- Re: Can't login to SQL Server
- From: Erland Sommarskog
- Can't login to SQL Server
- Prev by Date: Re: SQL Server 2005 security question
- Next by Date: Re: Can't login to SQL Server
- Previous by thread: Re: Can't login to SQL Server
- Next by thread: Re: Can't login to SQL Server
- Index(es):
Relevant Pages
|