Error Login failed for user xxxxxx Reason The password of the account has expired

Error Login failed for user 'xxxxxx'. Reason: The password of the account has expired.

ปัญหา:
เมื่อทำการเข้าใช้งาน BplusERP พบข้อความ Error: Login failed for user 'xxxxxx'. Reason: The password of the account has expired.

สาเหตุ:
เกิดจากรหัสผ่าน (Password) ของ SQL Server หมดอายุ เนื่องจากตอนสร้าง User/Password ใน SQL Management Studio ไม่ได้เอาติ๊ก Enforce password policy, Enforce password expiration, และ User must change at next login ออก

วิธีแก้ไข:

  1. เข้าไปที่ SQL Management Studio บน Server
  2. ไปที่แถบ Security > Login
  3. เลือก User ที่เกิดปัญหา ('xxxxxx') คลิกขวาแล้วเลือก Properties
  4. แก้ไข Password แล้วเอาติ๊ก Enforce password policy, Enforce password expiration, และ User must change at next login ออก
  5. กด OK
  6. เปลี่ยน Password กลับตามเดิม
  7. ลองเข้าใช้งานอีกครั้ง ระบบจะสามารถใช้งานได้