Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft Access > MsAccess to Sql...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 26 Topic 30600 of 31576
Post > Topic >>

MsAccess to SqlServer: sp_setapprole problem

by adjo <adgnews@[EMAIL PROTECTED] > Jun 27, 2008 at 08:15 AM

I am working on an app with an Access2002 frontend and Sql2005
backend. I have to use integrated security. I want to prevent my users
from altering data in another way than via the frontend.
It looks to me that the mechanism to do it is the Sqlserver
sp_setapprole procedure. Works fine when programming directly to
Sqlserver, and also een Access Data Project at first sight seems to
work as it should via the call to the sp_setapprole proc.
But for a number of reasons I would like to use a normal MDB as
frontend with Dao3.6 as data access method. This works fine normally
when I use SqlServer as backend, but now when I want to use
Intergrated Security the necessary sp_setapprole won't behave as
expected:
1) Excuting it via a passthrough query while using a DSN seems to
work, but suddenly the changes in tablepriviliges (because of
activating the role) can be gone. Seems like the mechanism is
unstable.
2) Using a DSN less connectionstring has the result that the sql user
for the connection changes in the rolename (as it should be) but table
privs don't change at all.
I read about the '3 connections Access uses' when connecting to
Sqlserver ('How to use Application roles with Access projects and SQL
Server 2000 Desktop Edition'). Maybe this has got to do something with
the strange behaviour after executing sp_setapprole.
Is there some with experience with this problem. And hopelfully some
tips, because I desperatly need the Int.Security + an Mdb frontend.
 




 26 Posts in Topic:
MsAccess to SqlServer: sp_setapprole problem
adjo <adgnews@[EMAIL P  2008-06-27 08:15:10 
Re: MsAccess to SqlServer: sp_setapprole problem
Rich P <rpng123@[EMAIL  2008-06-27 12:13:27 
Re: MsAccess to SqlServer: sp_setapprole problem
"a a r o n . k e m p  2008-06-27 20:26:01 
Re: MsAccess to SqlServer: sp_setapprole problem
adjo <adgnews@[EMAIL P  2008-06-28 03:09:25 
Re: MsAccess to SqlServer: sp_setapprole problem
adjo <adgnews@[EMAIL P  2008-06-28 03:11:42 
Re: MsAccess to SqlServer: sp_setapprole problem
"Tony Toews [MVP]&qu  2008-06-28 16:52:57 
Re: MsAccess to SqlServer: sp_setapprole problem
adjo <adgnews@[EMAIL P  2008-06-28 04:02:56 
Re: MsAccess to SqlServer: sp_setapprole problem
lyle fairfield <lyle.f  2008-06-28 05:56:38 
Re: MsAccess to SqlServer: sp_setapprole problem
lyle fairfield <lyle.f  2008-06-28 18:07:38 
Re: MsAccess to SqlServer: sp_setapprole problem
"Tony Toews [MVP]&qu  2008-06-28 22:09:32 
Re: MsAccess to SqlServer: sp_setapprole problem
lyle fairfield <lyle.f  2008-06-29 03:04:58 
Re: MsAccess to SqlServer: sp_setapprole problem
lyle fairfield <lyle.f  2008-06-29 03:34:47 
Re: MsAccess to SqlServer: sp_setapprole problem
"Larry Linson"   2008-06-30 05:02:36 
Re: MsAccess to SqlServer: sp_setapprole problem
adjo <adgnews@[EMAIL P  2008-06-30 01:53:36 
Re: MsAccess to SqlServer: sp_setapprole problem
adjo <adgnews@[EMAIL P  2008-06-30 01:56:14 
Re: MsAccess to SqlServer: sp_setapprole problem
Rich P <rpng123@[EMAIL  2008-06-30 10:22:29 
Re: MsAccess to SqlServer: sp_setapprole problem
lyle fairfield <lyle.f  2008-06-30 10:07:50 
Re: MsAccess to SqlServer: sp_setapprole problem
Rich P <rpng123@[EMAIL  2008-06-30 13:09:28 
Re: MsAccess to SqlServer: sp_setapprole problem
adjo <adgnews@[EMAIL P  2008-07-02 12:01:21 
Re: MsAccess to SqlServer: sp_setapprole problem
"James A. Fortune&qu  2008-06-30 14:41:46 
Re: MsAccess to SqlServer: sp_setapprole problem
"Tony Toews [MVP]&qu  2008-06-30 21:59:25 
Re: MsAccess to SqlServer: sp_setapprole problem
"aaron.kempf@[EMAIL   2008-07-01 22:42:44 
Re: MsAccess to SqlServer: sp_setapprole problem
lyle fairfield <lyle.f  2008-06-30 05:21:57 
Re: MsAccess to SqlServer: sp_setapprole problem
"Larry Linson"   2008-07-01 03:38:02 
Re: MsAccess to SqlServer: sp_setapprole problem
adjo <adgnews@[EMAIL P  2008-07-02 12:20:33 
Re: MsAccess to SqlServer: sp_setapprole problem
lyle fairfield <lyle.f  2008-07-02 16:09:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 23:08:24 CST 2008.