We have PerfectForms on-premise with PerfectForms Agent connecting to a SQL Server database. Our current configuration uses SQL Server based accounts for database access, but we want to change to Active Directory accounts for management purposes.
We have created an AD account specifically for this purpose, granted it permissions on the server and in the database, and updated config.xml; but for some reason, PerfectForms Agent will not connect using this account. I repeatedly get the error, "Connection failed:Agent system error Login failed for user '<username>'."
When I check the PerfectForms Agent Logs I see the error, "ERROR: Exception in GetColumnNames service: Login failed for user '<username>'"
When I check the SQL Server logs, I see "Login failed for user '<username>'." and "Error: 18456, Severity: 14, State: 5."
In the config.xml file, I have tried just the username, and combination of "<domain>\<username>". (Note: when using "<domain>\<username>" the SQL Server logs show Error State: 6, instead of 5).
I don’t know if this is a SQL Server issue or a PerfectForms issue. Any ideas?
