Hi,
We're working with sql server 2019 and the latest msoledb driver (from https://learn.microsoft.com/en-us/sql/connect/oledb/download-oledb-driver-for-sql-server?view=sql-server-ver16). When calling a procedure that has output parameters we get the error 'Can not get parameters of procedure '. I saw a similar issue (https://community.appeon.com/index.php/qna/q-a/rpc-error-can-not-get-parameters-of-procedure) where setting execute rights on the procedure solved the problem. In our case, the user already has execute rights on the procedure. Only making the user sysadmin makes the error go away. Is this normal behaviour or are we missing something (hopefully not as we don't want to make every user sysadmin). Our DBParm is like "PROVIDER='MSOLEDBSQL19',DATASOURCE='FXSQL-PO-C1213',PROVIDERSTRING='Database=FlexDatabase_Local_Aart',BinTxtBlob=1".
Any suggestion is welcomed.
Regards,
Aart