Re: Login problem
From: Jens Süßmeyer (Jens_at_Remove_this_For_Contacting.sqlserver2005.de)
Date: 04/28/05
- Next message: Ian Bell: "Login failed for user 'sa'"
- Previous message: Jens Süßmeyer: "Re: Add Database Role to Login Name"
- In reply to: Ragnar Midtskogen: "Login problem"
- Next in thread: Ragnar Midtskogen: "Re: Login problem"
- Reply: Ragnar Midtskogen: "Re: Login problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 28 Apr 2005 07:32:10 +0200
Sounds like you have switched the LoginMode for this Server or the password
of the user you are connecting with.
Try connecting to the server with the SQL login, if that won´t work use
integrated authentication and check wheter the loginmode is WIndows or Mixed
Mode. If its mixed mode, you gotta reset your password because it doesn´t
fit to that you you have. If you already tried that, there can be a
difference between the accounts that you imported. A user is created on the
server side on granted access to something on the db on the database level.
If you got a back restore on the backup server, these accounts won´t fit
togehter, so oyu gotta delete the user on the db level and recreate him with
the appopiate security Script.
If you don´t know how, just raise a hand (or write a mail) and i´ll help
you.
HTH, Jens Suessmeyer.
--- http://www.sqlserver2005.de --- "Ragnar Midtskogen" <ragnar_ng@newsgroups.com> schrieb im Newsbeitrag news:O5d0%23g3SFHA.2096@TK2MSFTNGP14.phx.gbl... > Hello, > > I have two servers where the SQL Server DB provides the data for a Web > site. > One server is the live Web server, the other one will serve as a backup. > > I use an ODBC connection to conect to SQL Server, and there are a number > of asp pages that connect the SQL Server using SQL Server authentication. > > Recently I restored the website DB on the backup server with a full backup > file from the live server and now the asp pages can not connect any more. > When I try to configure the ODBC connection I also get a message that > connection failed. > If I switch to Windows authentication in the ODBC manager I can connect > and the DB tests out successfully. > > I tried editing the password but when I try to save it I get the message > that the userid already exists. > I also tried deleting the userid and adding it back in, but I get the same > message, that userid already exists. > > I have just transferred another backup from the live server and it > includes a backup of the master, model and msdb DB's. I am hoping that > restoring all from this backup will correct the problem, but I am not an > experienced DBA, so I am not sure > > Any suggestions as to how I could fix this problem would be appreciated, > our live server is acting up so we may need to switch. > > Ragnar >
- Next message: Ian Bell: "Login failed for user 'sa'"
- Previous message: Jens Süßmeyer: "Re: Add Database Role to Login Name"
- In reply to: Ragnar Midtskogen: "Login problem"
- Next in thread: Ragnar Midtskogen: "Re: Login problem"
- Reply: Ragnar Midtskogen: "Re: Login problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|