Unlocking Login On Status Tab Always Gets Reset To Locked Out

Sep 8, 2006

I've been having this issue lately with a new login. We have set it up to use the Windows Password and Expiration Policy and I give it an initial strong password. In testing this new account I would purposely input the wrong password into an application 3 times thus causing the login to become locked out. I would then go into the SQL Management Studio, go to the Status Page and uncheck the 'Login is locked out' flag. If I would then click the 'OK' button to close the properties, I would get an error message that the password is not complex enough. This is strange since I never changed the password in the first place, I just unchecked the 'Login is locked out' flag. That's issue#1.

I then decided that I would give Management Studio the benfit of the doubt and also change the password to something complex again while still keeping the 'Login is locked out' flag unchecked. I then could click 'OK' and not get any errors. If I then go back INTO Management Studio and go to the Status Page, 'Login is locked out' would be checked again! That's issue #2

Does anyone have ANY idea what the heck is going on here or what I am missing? I would think that I should be able to uncheck the locked out login and close without issue and have the end user login again with their old (existing) password.



Thanks in advance.

View 20 Replies


ADVERTISEMENT

Does Anyone Have A Script To Reset SQL Login Passwords?

Apr 13, 2006

We are doing a consolodation whereby we are pulling 2 servers into one big one. We have a problem with duplicate logins and differing passwords. I want to be able to cursor (or tran?) through a list of logins resetting their passwords to a default.

This will currently run under SQL 2000, but I may want to do it on our 2K5 server at some time - I feel the second part may be more difficult though.

Does anyone have a script lying around in their armoury that will do this?

Thanks in advance

View 10 Replies View Related

HELP! Reset Dbo Login Id Password, Cannot Get Company Website Up

Mar 2, 2007

Our company website runs off of Microsoft SQL Server. Someone tried changing the 'administrative' password but the way that they did it locks us out of the database.

Under Enterprise Manager there is a Security group, underneath here is a login. The person reset the password here on the login id that is the DBO for our website's database. Underneath the database in Enterprise Manager the dbo uses this login id. Where else does the password need to get reset in order for that login id to access the database? We cannot set it back to the previous password because it is unknown.

When we go to our website we get the following error:
Error Executing Database Query.
[Macromedia][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect


Please try the following:
Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debugging Settings, and select the Robust Exception Information option.
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.

Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

View 3 Replies View Related

SQL 2012 :: Reset For Connection Pooling VS Login Failed For User XXXX

Aug 5, 2015

We are facing issue on one of our databases on Availability Group replica. FYI, please refer the below messages we are receiving. Moreover, the errors don't happen consistently for the specified user.

The client was unable to reuse a session with SPID 420, which had been reset for connection pooling. The failure ID is 46. This error may have been caused by an earlier operation failing. Check the error logs for failed operations immediately before this error message.

Error: 18456, Severity: 14, State: 46.
Error: 18056, Severity: 20, State: 46.

Login failed for user 'XXXX'. Reason: Failed to open the database 'YYYY' configured in the login object while revalidating the login on the connection. [CLIENT: aa.bb.cc.nn]

View 0 Replies View Related

Login Status Problem

May 19, 2008

ı added aspnetdb.mdf and login status my webform, ı saw log out but ı didnt log in site.. ı think problem is in web.config file.. how can configure web.config... or problem what?
ı need an answer thanks...

View 6 Replies View Related

ODBC--connection To 'unlocking' Failed

Aug 11, 2004

We are using an Access 2002 front-end with SQL Server 2000 as the database.

There is a table (dbo_PrivateGroup) that if you try to open it in the table view, in a query, in a report, or through the application, you get the following Error message:

ODBC--connection to 'unlocking' failed.

Does anyone know what this means and how I am supposed to get around this?

I tried it on the actual server itself and I can read the table through Access, through the application when it is running, and through Enterprise Manager. This machine is logged in with "Administrator" as the user id.

The table is on a different database than the other tables in the application.

It is a user table. And I checked the permissions and all users have select, insert, and delete permissions allowed. However, when I go to look at the columns property, none are checked for any user and when I go to check the boxes for all columns, I hit Apply, then Close. When I go back into that screen for that given user, the columns weren't saved.

My database knowledge is creating tables, stored procedures, and triggers. They don't have a DBA here and my knowledge is limited. Is the problem in SQL Server or Access?

I don't know if any of this makes sense. But if it does, any help would be greatly appreciated.

Thanks.

View 2 Replies View Related

Locking And Unlocking Rows In SQL CE Table Manual

Nov 30, 2007

Hi all,

We have a scenario where we want to lock and unlock manually some rows in a table in SQL CE database .First the rows we need should be locked. By using a select query the locked rows will be read and processed in front end. Only if the process is completed in front end, manually I need to unlock rows which I have locked earlier. When rows are in locked state no body should be allowed to access that rows . ( should not allow anybody even to put a select query on that locked rows).
At the same time appending rows in the table should always be allowed.
Is it possible to achieve the above scenario?

View 1 Replies View Related

Locking And Unlocking Rows In SQL CE Table Manual

Nov 30, 2007

Hi all,

We have a scenario where we want to lock and unlock manually some rows in a table in SQL CE database .First the rows we need should be locked. By using a select query the locked rows will be read and processed in front end. Only if the process is completed in front end, manually I need to unlock rows which I have locked earlier. When rows are in locked state no body should be allowed to access that rows . ( should not allow anybody even to put a select query on that locked rows).
At the same time appending rows in the table should always be allowed.
Is it possible to achieve the above scenario?

View 1 Replies View Related

Error: Cannot Open Database Requested In Login 'projectAllocations'. Login Fails. Login Failed For User 'sa'.

Oct 27, 2004

Hi,
Im getting this error when attempting to retrieve data from an sql database.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Cannot open database requested in login 'projectAllocations'. Login fails. Login failed for user 'sa'.

Source Error:


Line 13: objConn = New SqlConnection( "Server=LAB303-066NETSDK; Database=projectAllocations; User ID=sa;Password=mypassword")
Line 14: objCmd = New SqlCommand("SELECT * FROM project_descriptions", objConn)
Line 15: objConn.Open()
Line 16: objRdr = objCmd.ExecuteReader()
Line 17: While objRdr.Read()

Source File: C:finalyearproject2sample.aspx Line: 15



Please Help!! Im a beginner to this, so if anyone knows the answer, take baby steps when explaining. Thanks

View 3 Replies View Related

Cannot Open Database Requested In Login 'dbName'. Login Fails. Login Failed For User 'machineNameASPNET'

Jul 27, 2005

Been looking through the forums for a solution to this problem.I already tried granting access through statements such as:exec sp_grantloginaccess N1'machineNameASPNET'But they don't seem to work.. i vaguely remember seeing somewhere a DOS command line statement that grants access to the ASPNET_WP and that fixed my problem before on another computer.. but this is a new computer and i forgot to write down the command.Can anyone help explain and propose a solution to my problem. Many thanxs.

View 9 Replies View Related

Cannot Open Database Requested In Login 'sql'. Login Fails. Login Failed For User 'ASPNET'.

Dec 19, 2003

I am using the MSDE to connect to my ASP.NET application. I get this error after clicking the login button of my login page. Anyone know why this would happen?

Thanks for any help,

Cannot open database requested in login 'DataSQL'. Login fails. Login failed for user 'serverASPNET'.

View 5 Replies View Related

Locked Out

Apr 10, 2007

I am using the desktop sqlexpress 2005 and I was experimenting with the account setting and I accidentally disabled my access. I am using windows authentication and there is no password, just the windows login name.

How can I reactivate the login for this connection. Any help is greatly appreciated.

View 1 Replies View Related

How To Tell If A Row Is Locked?

Apr 14, 2008

I am writing in regard to this post: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=52798
Which I found while searching for a best-practice way to implement record locking in my application.
In the above referenced post the user asks “How can I tell if a row is locked?�, and the reason for asking is that the user wants to implement logic similar to this:

Select a row for editing.
If the row has been locked by a different user, display the information as read only.
Otherwise, lock the row and allow the user to edit (allow others to read).

My questions are exactly the same as the original poster of the above thread. I was surprised to see that the general response to the post was the user was taking a wrong approach and that sql server is unable to work as the user requested. I think the approach is both correct and desirable (I used it extensively as a foxpro programmer) and I would like further confirmation that sql server does not support it.

One of the things I don’t understand is the interaction between transactions and locks. Is it not possible to lock a row without initiating a transaction? Bottom line, my goal is this:

Select a row for editing.
If the row has been locked by a different user, display the information as read only.
Otherwise, lock the row and allow the user to edit (allow others to read).


However I get there is fine with me.

View 12 Replies View Related

Mdf Locked

May 12, 2008

Hi to all,
I need help about access to mdf file. I don't know when, but sometime my application, build with vbnet, return an error on mdf database access, that is access denied, also winxp return on the mdf file the message "process cannot access the file because it is being used by another process" if I try to delete the mdf file. I can delete the file only if I stop the procss sqlservr.exe from taskmanager. I don't use instruction to open and close database, I use dataset, datatable and sql build in datatable.
Someone can say me why sqlservr.exe don't unlock the mdf file when I close my application?
Thanks..

View 5 Replies View Related

Table Is Getting Locked

Jan 10, 2002

Hi,

When I am deleting records from a table, I am not able to select or insert records from the table. This particular table needs to be used by more users and very frequently used.

Could anyone please help with ideas.

Thanks in advance
John Jayaseelan

View 5 Replies View Related

Tables Act Like They Are Locked For Dbo Only

Feb 23, 2001

I am having an interesting problem that has got me completely baffled. I restored a database from the .bak file of another database on my server to use as a test DB for an App. upgrade before upgrading the live side. The problem I have run into is that the application will not allow login into the DB unless the Trusted Connection user has dbo privs. The DB is not set for dbo use only acoording to sp_dboption. It is not this way on the live side and tech support for the app. and I both think it has to strictly do with something in the SQL permissions. Any Ideas on what could have happened? Is the restored DB hanging onto something from the original DB that could be causing this? The connection works great on the live side on the older version, and I have seen it work in the newer version as well. Any takers?--Dallas

View 2 Replies View Related

Account Locked Out

Jul 6, 2006

I have a problem that i can't log on sql server as the account is lock out. I don't know why it is locked out as this is the first time i log on. Anybody has this experience? Thank you very much!

View 4 Replies View Related

User 'sa' Is Locked Out

Sep 6, 2006

I just brought SQL Server 2005 up on Windows Server 2003 a few days ago. Everything was going great up until a few minutes ago. I tried to connect using the Management Console and get the message

Login failed for user 'sa' because the account is currently locked out. Your administrator can unlock it.

It's the administrator that's locked out!

Do I have to reinstall SQL Server all over again?

View 2 Replies View Related

'sa' Account Is Locked Out

Jun 19, 2008

My 'sa' account is locked out and the BUILTINAdministrators account does not have the sysadmin role. I removed the sysadmin role from BUILTINAdministrators for security reasons and before I could create a new account with the sysadmin role I fat fingered the sa password and locked it out. How can I get myself out of this mess.

Any help would be welcomed.

View 10 Replies View Related

Mdf File Is Locked

Dec 18, 2007

My mdf and ldf files were locked by windowsXP. Iam not using these files in anywhere of my two instances of databases.

Even after stopping SQL SERVER 2005 iam not able to cut or copy those files.

How to recover this files.

View 5 Replies View Related

Tables Get Locked

Jul 23, 2005

HelloI have a stand alone Java application that uses SQL Server 2000 on thesame machine. Sometimes, when we run the applications and follow acertain steps, the SQL server locks some of the table. At that point oftime, if we try to query Select * on those table, in Query Analyzer, itjust keep spinning and doesn't return anything. That tells me that thetables are locked. If I close the application then it frees up theconnection and those tables are accessible again.My question is how do I find out how and what query/update causes thetables to be locked. Is there a tool (some kind of a profiler) that cantell me what was the last insert/update/delete quesry was run before itgot locked?Please help me.

View 2 Replies View Related

My Sql Server Locked Everyone Out

Aug 27, 2007

My sql server just dissalowed every connection attempt made. All the allowed users were denied permission, including the computer's admins. I changed the permissions and tryed everything I could think of but it wont let me back in. Can someone help ASAP?

View 1 Replies View Related

Help! I Am Locked Out From My SQL2005

Jul 7, 2006

Hi Champs,
Is there a way to recover from a account lockout in SQL2005?
I cannot connect to "Database Engine" in "SQL Server Management Studio",
error: login failed...18456. Access denied.

And I also cannot start the "SQL Server agent service"

Any possebility to recover without reinstall?


/Many thanks

View 3 Replies View Related

SA Account Locked Out

Mar 20, 2006

I have been using SQL2000 for a number of years and the company I work for needs a new system so I decided to install SQL2005.

I installed SQL2005 without any problems and set a complex password for SA. I tried to log on and had to make several atempts as I remmebered the password after the SA account got locked out with the following message:

Login failed for user 'sa' because the account is currently locked out. The system administrator can unlock it. (Microsoft SQL Server, Error: 18486).

The problem I have is I cannot log onto SQL at all as it is not logging on with windows authentication either!

How do I unlock the SA account or do I have to reinstall SQL?

Thanks

Brian

View 28 Replies View Related

Why Are Buffer Locked...

Oct 22, 2007

We had a package fail when trying to get 3 buffers. I also saw another message saying "18430 buffers were considered and 18430 were locked. "

1. Why are buffers locked in SSIS
2. How can i reduce the number of locked buffers.

This one in question was a very large lookup.

Thanks
Glenn

View 1 Replies View Related

Locked Out Of Enterprise Manager

Apr 16, 1999

I am a beginner working on a webclass project using VBLive as a model. Today I have lost any ability to enter Enterprise Manager for SQL7 although my SQL7 Server is still running and operational with the webclass application.

When I try to start the enterprise manager, i get a mmc.exe-application error
Have I locked myself out somehow? How to get back in control?

Thanks.

View 2 Replies View Related

Locked DBCC Process

Aug 17, 1999

Hi,
I've started 2 dbcc processes using SQL Scheduler overnight. and I've got
one is flagged rollback and the other is still running, they are blocked
together. I've tried to kill them using kill <spid> without success.
How can I delete this processes ? Shall I shutdown the server ?

Thanks

Herve

View 1 Replies View Related

Please, HELP!!! OLAP Cube Locked

Aug 26, 2004

When I try to process a cube on olap I receive this error message:

Could not lock object (user xxx on computer yyy has locked 'xxxxxxxx'

I already tried to find an option to unlock the cube and I do a restart of SQL service.
I'm worryed about my job !!!! :eek:
Please, HELP ME !!!! :(

View 2 Replies View Related

Locked Out Of Enterprise Manager

Mar 7, 2007

Hi all

First post - please be gentle :)

I have had a search of the forum and couldn't find a solution to this one.

On a clean install of SQL Server 2000 on a W2003 server we setup our database as normal, selected appropriate priveldges for everyone and all was well.

Until an adminsitraor accidently turned builtinadministors account to DENY access. We are now locked out of EM and I can't think of a way back in.

We can't access the database via the sa account as it is set to Windows Autentication, and we can't re-register the database for the same reason.

No other user has sufficent priveldges to update the master db or change authenticaion, or even log into EM for that matter.

I think we are snookered, but any thoughts are welcomed.

Cheers

K2

View 3 Replies View Related

SQL Table Locked Up. How Do I Unlock It?

Nov 18, 2005

I can't open a table that has 5 records. Is there any kill processes that can unlock the table for me?

View 2 Replies View Related

Merge Replication Locked

Jul 11, 2007

Hi All



New to sql server .



Have setup several pilot installations using merge replication between sql server mobile and sql server 2005. All has been perfect for over a week in all locations. last night one of the ocations stopped updating. Upon further investigation all devices kept throwing errors: "The database is currently synchronizing with the server". So I left for a further 2 hours with no change. The replication process usually takes abot 1 second and never take more than 3 or 4 seconds. There was no change to the data at all in this case either. I fixed the issue by restarting the whole server.



It would seem that there was some kind of lock on the database. Being new to sql server my question is:



Is there a way to properly diagnose the cause (I looked in the system event log and found nothing).
Is there a way to get notified if this occures again.

We are plannng hundreds of similar installations and cannot constantly monitor all of them in the hope of finding this issue again.



Regards



Nick

View 1 Replies View Related

SQL Stored Procedures Locked

Feb 8, 2008



I am facing a problem in SQL SERVER 2005, 3 stored procedures seem to have a padlock on them and when i right click and the modify option is disabled.

I have tried logging in as SA and it seems to be the same problem, it is a database which someone else developed, but I need to modify it.

Any help would be appreciated.

Thanks
Harp

View 7 Replies View Related

Problems With 'locked' MDF File

Nov 16, 2006

Hi Folks,

When I create a Database and try to copy the MDF file, I get a message to say that the Database is locked or in use by another user.

Seems like maybe I am not doing a 'Save' operation - although I can't find one ?

If I shut down the PC and restart it, then the MDF File is freed up, although when I try to open it, there is something wrong with it.

I'd appreciate any suggestions.

Thanks a lot.



Barry







View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved