Attempting to run my first SI report on Sage 2022 Prem client. Getting the above error, which Sage has in the KB. The script they said to run in SQL (I copied and pasted) returns this upon execution:
"The number of orphaned users fixed by updating users was 0.
The number of orphaned users fixed by adding new logins and then updating users was 0."
The assumption that fixing 0 users is bad appears to be correct. Still getting the same error in SI. Verified in the Tenant Cache that the password for MAS_Reports was correct.
The script was this:
EXEC sp_change_users_login 'Auto_Fix', 'MAS_Reports'
GO
EXEC sp_dropuser 'MAS_Reports'
GO
EXEC sp_grantdbaccess 'MAS_Reports'
GO
EXEC sp_addrolemember 'db_datareader', 'MAS_Reports'
I was logged in as "sa" in SQL SMS. Can anyone tell me what the script looks like it is doing, why it would need to do it, and why it may not be fixing anything? Any or all of those would be helpful... THANK YOU!
------------------------------
Beth Bowers
(269) 358-0989
------------------------------