Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An database error occurred when selecting from RetailStoreTable RCSU IIS Hosted #117

Closed
MuhammadUmairSiddiqui opened this issue Aug 30, 2022 · 1 comment

Comments

@MuhammadUmairSiddiqui
Copy link

Hi Team,

I am facing this issue while upgrading to RCSU Sealed.

Database error 'Unknown' occurred for 'execute query '[ax].[RETAILSTORETABLE]''. The SELECT permission was denied on the object 'RETAILSTORETABLE', database 'RetailChannelDatabase', schema 'ax'.

@Pikhulya
Copy link

Pikhulya commented Sep 9, 2022

Looks like your extension directly accesses the aforementioned table from within C#, the version 10.0.30 makes it possible but ideally consider to change your extension to never access tables directly from within C#, instead create Views/Stored Procedures accessing the table you need and invoke those Views/Stored Procedures from within C#.

@Pikhulya Pikhulya closed this as completed Sep 9, 2022
@madyke madyke transferred this issue from microsoft/Dynamics365Commerce.ScaleUnit May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants