Solved

MS Access 2010 Linked SQL Server Tables in Named Schema

Posted on 2012-04-09
2
787 Views
Last Modified: 2012-04-09
Our MS Access 2010 database uses linked SQL Server 2008 tables which are in named schemas.  Users are granted rights through a Active Directory security group, the secruity group has been granted access as:  Server Roles=public;  User Mappings: db_datareader, db_datawriter, public; no securables.  The longest linked table name is 41 characters (HumanResources.EmployeeAppointmentHistory)

Tested users rights driectly within SSMS with out issues.
The linked tables in ms access are schema_tablename

Error Message in MS Access
[Microsoft][SQL Server Native Client 10.0][SQL Server]The INSERT permission was denied on the object “EmployeeAppointmentHistory “, database “<DatabaseName> “, schema “HumanResources “. (#229)

I remember reading somewhere about setting up Synomyns for all non-dbo schema objects, I have not tested that yet.
0
Comment
Question by:breckdahlin
2 Comments
 
LVL 15

Accepted Solution

by:
Deepak Chauhan earned 500 total points
ID: 37824527
Hi, this is only permission issue on humanresures schema and you need to grant onlyinsert rights to username

use this
: Grant select, insert on schema::humnaresources to username;

but please ensure you have database owner or admin rights to grant and revoke permissions.
0
 

Author Comment

by:breckdahlin
ID: 37824674
The active directory security group has (select, insert, execute, update, delete) permissions on the schema.

What works is granting the user direct right to the schema verses granting those rights to a security group

i.e. <Domain>\UserName verses <Domain>\,<SecurityGroup> of which the user is a member.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question