all groups > sql server connect > july 2006 >
You're in the

sql server connect

group:

Linked Server Security question


Linked Server Security question cityboy
7/26/2006 10:55:06 AM
sql server connect:
I am new to the linked server concept and I'm having trouble with the
following scenario:

Users are trying to run a report from Reporting Services whose data is
supplied from a stored procedure. The stored procedure gets its records
from 2 sources. One is a regular SQL Server table. The other is an MS
Access mdb that resides on the c: drive of the same server. In order
for the stored procedure to work, I had to set up the Access mdb as a
Linked Server.

When I run the report with my administrative rights, everything works
fine. However, regular users get an error and my testing reveals that
it's related somehow to the security on that linked server.

I've made sure that all users have rights to the mdb file. I've also
tried various property settings in the Linked Server Security
properties. The documentation isn't very helpful. Any help will be
greatly appreciated.

thx
Re: Linked Server Security question Arnie Rowland
7/26/2006 11:02:03 AM
The mdb file is just a file system file. Check to see if OS file permissions
may need to be adjusted to allow READ/WRITE privileges. to the file and
perhaps even to the folder.

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous


[quoted text, click to view]

Re: Linked Server Security question cityboy
7/26/2006 11:21:41 AM
thanks for the reply. I had temporarily given all users all rights to
that folder and all files in it. Nothing changed.


[quoted text, click to view]
Re: Linked Server Security question Arnie Rowland
7/26/2006 11:37:25 AM
Does the account SQL Server runs under also have file privileges?

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous


[quoted text, click to view]

Re: Linked Server Security question cityboy
7/26/2006 12:08:11 PM
Yes, it does.


[quoted text, click to view]
Re: Linked Server Security question Sue Hoegemeier
7/26/2006 8:15:52 PM
Try running a trace when a regular user generates the report
to get more information - you can capture OLEDB errors as
well as SQL Server exceptions, logins, statements executed.
What is the error that the users are getting?

-Sue

On 26 Jul 2006 12:08:11 -0700, "cityboy"
[quoted text, click to view]
AddThis Social Bookmark Button