- Open SQL Management Studio
- Expand your database
- Expand the “Security” Folder
- Expand “Users”
- Right click the user (the one that’s trying to perform the query) and select
Properties. - Select page
Membership. -
Make sure you uncheck
db_denydatareaderdb_denydatawriter

This should go without saying, but only grant the permissions to what the user needs. An easy lazy fix is to check db_owner like I have, but this is not the best security practice.