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