Solved

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

Posted on 2009-05-19
7
258 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

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

Technology Partners: 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!

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…

739 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