Solved

Permissions problem between access 2000 and sql server 2005 with stored procedures

Posted on 2009-05-19
7
259 Views
Last Modified: 2013-11-28
We recently updated our database from sql server 7 to sql server 2005. We use access as a frontend for our main application which exists on a terminal server.

When I log into the terminal server as an admin and open the application; the stored procedures work fine. When I log in as a normal user most of the storedprocedures fail. Also when I am logged in as a user access renames the stored procedures and adds a ";1" at the end of them or adds a prefix of "fn" or "dt".

Obviously this is some sort of permissions issue, however we do not know where to change the permissions for this.
0
Comment
Question by:kikimayhay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 57

Assisted Solution

by:Raja Jegan R
Raja Jegan R earned 200 total points
ID: 24422581
While creating the procedure, use EXECUTE as OWNER keywords to get rid of failing execution of Stored Procedures.

Or else you can issue on all procedures

GRANT EXECUTE ON procedure_name TO user_name;
GO
0
 
LVL 20

Assisted Solution

by:Marten Rune
Marten Rune earned 200 total points
ID: 24422597
0
 
LVL 10

Assisted Solution

by:dwe761
dwe761 earned 100 total points
ID: 24422635
I'll try to help you but can you give a bit more info?  Do you know if you are using Windows Authentication or do you use SQL Logins?

Are you using Access ADP's or MDB or MDE or???

What permissions are you using on the Access side?

Where are the stored procedures being renamed?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:kikimayhay
ID: 24422700
We use mixed mode authentication but in this case all of the users are getting access through windows authentication.
We use ADP's
The users login into access via a login in screen (username and password is identical to their windows login) so in essence windows authentication once again to access the sql.
The only place the stored procedures names change is in the access adp logged in as a user. If I log in as myself (administrator) the stored procedures are named correctly.
0
 

Author Comment

by:kikimayhay
ID: 24422845
Trying to follow link from Microsoft from Marten Rue link from above and link no longer exists.
0
 

Accepted Solution

by:
kikimayhay earned 0 total points
ID: 24423233
We seem to have stumbled across the issue apparently the issue is more centered around one of our terminal servers acting up (will be completely rebuilt in the next day) not anything to do with permissions.
0
 
LVL 20

Expert Comment

by:Marten Rune
ID: 24424550
Glad to hear you solved it.

If you want to read up on the security model.
Here is another link: http://msdn.microsoft.com/en-us/library/ms189121.aspx

/Marten
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
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…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

688 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