Thursday, March 29, 2012

Error 18456

Hello I am getting:
"login failed" (Error 18456) error messages in SQL Server 2005 Error is
18456, Severity: 14, State: 8.
I have tried to logon to other databases and this isnt possible. I get the
same error message. Creating new logins, and triple-checking the passwords
did not help. The database engine will not allow any logons to any
database. The other engines seem to be fine.
This still means that I do not have permissions for any of the databases.
This is using any of the local or domain accounts. I cannot log onto any of
the databases. I have tried to attach using SQLCMD and I cannot get logged
in to the database.
The log files show success from earlier in the day and week for these same
accounts.
I created this problem by detaching one database running on the server. I
went to connect the datafiles and now I cannot get into the server at all.
I am using SQL2005, Sharepoint services and a Windows 2003 server.
I would appreciate any insight or suggestions.State 8 is an invalid password.
Passwords in SQL Server 2005 are case sensitive so make sure
you are checking that as well. If you can't log in at all
and no one can log in, try logging in as local administrator
on the box and then log into SQL Server using windows
authentication.
-Sue
On Wed, 15 Mar 2006 19:34:00 -0600, "JimS"
<noholycowsspam@.ya_NoJunk_hoo.com> wrote:

>Hello I am getting:
>"login failed" (Error 18456) error messages in SQL Server 2005 Error is
>18456, Severity: 14, State: 8.
>I have tried to logon to other databases and this isnt possible. I get th
e
>same error message. Creating new logins, and triple-checking the passwords
>did not help. The database engine will not allow any logons to any
>database. The other engines seem to be fine.
>This still means that I do not have permissions for any of the databases.
>This is using any of the local or domain accounts. I cannot log onto any o
f
>the databases. I have tried to attach using SQLCMD and I cannot get logged
>in to the database.
>The log files show success from earlier in the day and week for these same
>accounts.
>I created this problem by detaching one database running on the server. I
>went to connect the datafiles and now I cannot get into the server at all.
>I am using SQL2005, Sharepoint services and a Windows 2003 server.
>I would appreciate any insight or suggestions.
>|||Thanks for the help....
We detached a database in order to copy the files. When I detached the
database it seemed to lock all users with access to that database out any
access to this SQL2005 server.
I was able to use SQLCMD to gain access and rebuild access for my database
admin account. I was then able to use this account to reattach the detached
database. When I did this the database and all user access to SQL2005 was
back to normal. I am not sure why this happened. We have about ten other
databases on this SQL server. The same users had access to these tables as
well as the detached table so the detached table was not the only table for
which they had access. The detached table was just a table of 'production'
data. I will try and see if I can recreate the problem but will wait for
the weekend to try that!
Thanks
"JimS" <noholycowsspam@.ya_NoJunk_hoo.com> wrote in message
news:%23EnC0mJSGHA.1576@.tk2msftngp13.phx.gbl...
Hello I am getting:
"login failed" (Error 18456) error messages in SQL Server 2005 Error is
18456, Severity: 14, State: 8.
I have tried to logon to other databases and this isnt possible. I get the
same error message. Creating new logins, and triple-checking the passwords
did not help. The database engine will not allow any logons to any
database. The other engines seem to be fine.
This still means that I do not have permissions for any of the databases.
This is using any of the local or domain accounts. I cannot log onto any of
the databases. I have tried to attach using SQLCMD and I cannot get logged
in to the database.
The log files show success from earlier in the day and week for these same
accounts.
I created this problem by detaching one database running on the server. I
went to connect the datafiles and now I cannot get into the server at all.
I am using SQL2005, Sharepoint services and a Windows 2003 server.
I would appreciate any insight or suggestions.

No comments:

Post a Comment