SQL Server: The password of the account has expired.


June 2020 (0) Iptv 4/19/2024


SQL Server: The password of the account has expired. SQL Server: Hesabın şifresinin süresi doldu. hatası alıyorsanız işte çözümü:

This is the first time that I have come across this error. Today, while I was testing a web application on my local machine, Microsoft SQL Server began to throw the following exception whenever my web app attempted to connect to a database:

Bu hatayla ilk kez karşılaştım. Bugün, yerel makinemde bir web uygulamasını test ederken, Microsoft SQL Server, web uygulamam bir veritabanına bağlanmaya çalıştığında aşağıdaki istisnayı atmaya başladı:

Görünüşe göre - SQL Server'daki kullanıcı şifrelerinin süresi varsayılan olarak dolar.

Apparently – user passwords on SQL Server will expire by default.

To fix the issue, you will need to login to Microsoft SQL Server Management Studio as an administrator and find the account in question. The account should be listed under Security -> Logins. After selecting the user account in question, you will see the following form:

Sorunu çözmek için Microsoft SQL Server Management Studio'da yönetici olarak oturum açmanız ve söz konusu hesabı bulmanız gerekir. Hesap Güvenlik -> Girişler altında listelenmelidir. Söz konusu kullanıcı hesabını seçtikten sonra aşağıdaki formu göreceksiniz:

enforce password expiration

In the screenshot above, you can see that the red arrow is pointing towards an option called “Enforce password expiration”, which has been ticked in this case. To remove the password expiration from the account, simply untick the checkbox and press “OK”.


Fatal error: Uncaught exception ‘PDOException’ with message ‘SQLSTATE[28000]: [Microsoft][SQL Server Native Client 11.0][SQL Server]Login failed for user ‘test’. Reason: The password of the account has expired.’

Yukarıdaki ekran görüntüsünde, kırmızı okun bu durumda işaretlenmiş olan "Parola süresinin dolmasını zorunlu kıl" adlı bir seçeneğe işaret ettiğini görebilirsiniz. Parola süresinin dolmasını hesaptan kaldırmak için, onay kutusunun işaretini kaldırın ve “Tamam” düğmesine basın.


Yorum yapabilmek için giriş yapınız

Giriş Yap

Sitede Ara

ralfiSoft.com Download

DOWNLOADS