Error 15432

[CR# 470177] Error 15432 may appear incorrectly in the following scenarios.

Scenario 1: When data is encrypted using a key with one or more key copies. The encrypted data is accessed through a stored procedure by two users. One user has access to the data through the base key and the other user has access through a key copy.

Workaround: The user who has access to data through the base key should always execute the procedure with the recompile option.

Scenario 2: When encrypted data is accessed through a stored procedure and the password on the base key is changed between consecutive executions of the procedure.

Workaround: Execute the stored procedure with recompile once after the base key's password has been modified. Subsequent executions of the stored procedure do not require recompile.