Re: Can't login to SQL Server



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



.



Relevant Pages

  • Re: MS Access DAO -> ADO.NET Migration
    ... William Vaughn ... Microsoft MVP ... Hitchhiker's Guide to Visual Studio and SQL Server ... My migration app works building a SSCE database file with imported data ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Cluster will not fail over.
    ... > As far as the TCP/IP issue goes, you had to rebuild the cluster and were ... > able to restore the master database. ... > a cluster installation you'll have to revisit. ... >> This worked bringing up the sql server in minimal mode. ...
    (microsoft.public.sqlserver.clustering)
  • Re: MS Access DAO -> ADO.NET Migration
    ... full SQL Server and I see the logic you explained in a multi user ... allow two users to access the same database file Read/Write at any given ... The book was a pleasure to read after the gibberish that Microsoft 'puts ... Hitchhiker's Guide to Visual Studio and SQL Server ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: MS Access DAO -> ADO.NET Migration
    ... For that it is much harder to handle the incremental identifier, ... database but although they have the data, they are not connected at the same ... The book was a pleasure to read after the gibberish that Microsoft 'puts ... SQL Server Management Studio is nowhere to be found on my ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Word 2003/Access2000/SQLSVR
    ... SQL server being where the data is held and this is accessed through a MS ... entire database and that may be say a record for Berkshire. ... "Peter Jamieson" wrote: ... replaced with the first record on the table in use. ...
    (microsoft.public.word.mailmerge.fields)