Re: User connection problem; tried everything
- From: "Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
- Date: Sun, 9 Dec 2007 12:24:19 -0500
What kind of backup? A backup from another machine, from a full
reinstallation of MSDE or simply a small restoration to the exact same
installation of MSDE only to go back in time with the data?
I suppose that the master database has changed and that you forgot to use
sp_change_users_login (see
http://msdn2.microsoft.com/en-us/library/ms174378.aspx ) in order to remap
the SIDs between the master database and your database for each user
account.
If you still have problem, this kind of question would be best answered in
mp.sqlserver.security or mp.sqlserver.server. You should also make some
connection tests with the sa account to be sure that you are really trying
to connect at the right place and with the right parameters.
--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)
"Don" <don.rea@xxxxxxxxx> wrote in message
news:da16ce6b-edca-4136-b3ed-f63871375bc4@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Well, I've tried everything I can think of so far, anyway. I have a
database in an MSDE instance with users attached. I know I have the
right passwords for them, because I just reset the passwords. They are
attached to the database - if I try running sp_grantdbaccess I get an
error message telling me that they already exist in the database. I
can see them and the roles they're assigned to in the tree view of
database objects. And yet, when I try to connect to the server as one
of those users by any means - ODBC or OLEDB from an application, or
using the query analyzer, or through osql - I get some variation of
the "Login failed for user" message.
This began happening immediately after I restored the database from a
backup, so I guess that could have something to do with it. But I
can't think of what, or what else to try. Anybody?
.
- Follow-Ups:
- References:
- Prev by Date: User connection problem; tried everything
- Next by Date: Re: User connection problem; tried everything
- Previous by thread: User connection problem; tried everything
- Next by thread: Re: User connection problem; tried everything
- Index(es):
Relevant Pages
|