Original symptom: User sa locked out, too many bad attempts.
Problem was sudden (no issues before), and pervasive (couple of fails in one day).
As this was a new roll out of SQL backend to Sage300, Crystal Reports and Misys inventory package, we could reboot to recover.
(We have since confirmed a Windows Login will allow us to unlock account. No more reboot.)
After seeing the recommendation on how to "disable enforcement policy", we halted the lockouts.
(And yes, there was a windows update, and SQL "uses the policy of the underlying OS" - did Windoze something change?)
Ahh! But here the mystery deepens!
Our log indicates a login failure for user sa at each Crystal/Sage report generated.
Login failed for user 'sa'. Password did not match that for the login provided. [CLIENT: <localhost> -or- 192.168.x.x of machine]
Error: 18456 Severity: 14 State: 8
The report IS generated and delivered to the user. No indication of an issue/error.
We tried to intentionally enter a bad password; exact same error in the logs, BUT the user gets a failure dialog box.
Please note: with the exception of occasional fat-fingered logins, we had no login failures in the logs up until this started. The verbose message is present (duplicated) in both the WindowsNT:Application and the SQL server logs.
So the problem is still there! But the user doesn't see it. But it is in the logs.
WHY? I expect this will come to bite me later, if I don't address today.
Since this is new roll-out, and end-user expects some teething pain, I have some leeway to try things, now....
Maybe not so much, down the line, if/when this blooms into a real issue.
Any suggestions??
sa
account for user processes. This is a terrible idea for so many reasons. It also sounds like you are possibly using it for multiple, disparate processes which can make troubleshooting things like this a pain. Create a new account for Crystal, then for other processes that usesa
as well until you eventually stop using thesa
account entirely. At that point, you'll likely identify the process in question causing you problems.