Mar 12 2024 06:38 AM
The WCM.log shows many errors like:
----
[ODBC Driver 18 for SQL Server][SQL Server]The EXECUTE permission was denied on the object 'fnIsSnapshotInitializing', database 'name', schema 'dbo'.
-----
Does anyone have a tip?
The KB25858444 is installed.
Mar 14 2024 05:59 AM - edited Mar 14 2024 06:00 AM
SolutionThe account that is trying to execute the function (I think), doesn't have execute rights to run it. Running one of commands in SSMS may work:
GRANT EXECUTE ON SCHEMA::[dbo] TO [accountname]
OR
GRANT EXECUTE TO [accountname]
The first one will give it execution right to just the dbo schema which is what the error message is complaining about. The second command will give the account access to all the schema. The question is........why did all of a sudden did that account lose it's execution rights or maybe it didn't have the right to begin with.
Mar 15 2024 05:14 AM
Mar 14 2024 05:59 AM - edited Mar 14 2024 06:00 AM
SolutionThe account that is trying to execute the function (I think), doesn't have execute rights to run it. Running one of commands in SSMS may work:
GRANT EXECUTE ON SCHEMA::[dbo] TO [accountname]
OR
GRANT EXECUTE TO [accountname]
The first one will give it execution right to just the dbo schema which is what the error message is complaining about. The second command will give the account access to all the schema. The question is........why did all of a sudden did that account lose it's execution rights or maybe it didn't have the right to begin with.