Menu

Skip to content
  • Home
  • All Articles
  • Write Me
  • Becoming A DBA
  • Downloads/Interview Q&A
  • About Me

Tag Archives: Login Failure

October 8, 2012 by Jugal Shah

The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is ON. (Microsoft SQL Server, Error: 15128)

Problem: Recently one of my user reported the issue that, He is getting password change message while login to SQL Server. But he does not want to change the password as he has already configured at the many places. While turning off the Password Expiration message, I got the below error.

The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is ON. (Microsoft SQL Server, Error: 15128)

Solution:
To fix the issue you MUST have to change the password first without changing in password policy options. The good thing it that you can change the password to be the same as the existing one. -:)

But still you have to change the password -:) what a logic!!! You can do it from SSMS GUI as well, but I always prefer to use the scripts as it is giving me flexibility of customization.

That was the another reason I am in the support of open source software you have flexibility to add your ideas. Let’s go to fix the issue.

In the below step I am giving the same password, to fix “User Must Change Password” flag.

USE Master
GO
ALTER LOGIN [Login Name] WITH PASSWORD = 'Same Password'
GO

Now let’s turn off the passowrd policy.

ALTER LOGIN [Login Name] WITH
      CHECK_POLICY = OFF,
      CHECK_EXPIRATION = OFF;
Posted in MySQL, SQL Server, SQL Server 2008, SQL Server 2008 R2, SQL Server 2011 (Denali) | Tagged Login Failure, Login Issue, password change, T-SQL | Leave a comment
April 28, 2012 by Jugal Shah

SQL Server Login Failure Error 18456, Severity 14, State 10

Problem
Recently I experienced a situation where a SQL Server login failed with this error message:
Error: 18456, Severity: 14, State: 10.
Login failed for user ‘SQL_Login’. Reason: Password validation failed with an infrastructure error. Check for previous errors. [CLIENT: XXX.XXX.XXX.XXX].

Can you help me decipher this SQL Server issue and correct it? Check out this tip to learn more.

Solution
http://www.mssqltips.com/sqlservertip/2679/sql-server-login-failure-error-18456-severity-14-state-10/

Posted in SQL Scripts, SQL Server, SQL Server 2008, SQL Server 2008 R2, SQL Server 2011 (Denali) | Tagged Error 18456, Login Failure, Severity 14, State 10, sys.dm_os_ring_buffers, sys.ms_ticks | 1 Comment

About Me

Jugal Shah is the author of this blog. He has Nine plus years of experience as Database Administrator and Developer in the Microsoft SQL Server and MySQL.

Server Server MVP (2010, 2011, 2012)

Search @ SQLDBPOOL

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 254 other followers

Blog Readers

  • 798,542 Readers

Locations of visitors to this page

MVP Blog Badge.

Grab this badge here!

Disclaimer

This is a personal blog. The opinions expressed here represent my own thoughts and not those of my employer. For accuracy and official reference refer to MSDN/ TechNet/ BOL. My employer do not endorse any tools, applications, books, or concepts mentioned on the blog. I have written my personal experience on this blog. Please don't direct implement or execute any query on production before have detailed study.

Database Support

  • Notes (423)
    • Database (86)
    • DB Articles (52)
    • DB Notes (4)
    • IIS (1)
    • Microsoft Technologies (2)
    • MySQL (12)
    • Networking (7)
    • Oracle (4)
    • OS and SQL (25)
    • PostGreSQL (2)
    • SQL Scripts (53)
    • SQL Server (307)
    • SQL Server 2008 (182)
    • SQL Server 2008 R2 (178)
    • SQL Server 2011 (Denali) (74)
    • Windows OS (5)
  • SQL Server 2012 (9)

Top Rated

Call Me

SQLDBPool facebook Page

Follow Me

My BlogCatalog BlogRankPage Rank CheckerTechnology blogsBlog Directory Visit blogadda.com to discover Indian blogs Shout it
NetworkedBlogs
Blog:
SQLDBPOOL.COM
Topics:
Sql Server, Dba, Developer
 
Follow my blog
Blog at WordPress.com. | Theme: Misty Lake by Automattic.
Follow

Get every new post delivered to your Inbox.

Join 254 other followers

Powered by WordPress.com