Click here to get back home

OpenRowset : DSN : file-system permissions : Local System

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
OpenRowset : DSN : file-system permissions : Local System TR 03-14-2008
Posted by TR on March 14, 2008, 10:23 am
Please log in for more thread options
cross-posted to sqlserver.security and windows.server.security

We want to use legacy data in a 'heterogeneous join' with current
production data on our SQL Server. One of our Windows servers hosts a
legacy Access 97 MDB secured by MDW, and another server hosts an
instance of SQL Server 2000. I also have an instance of SQL Server 2000
running on my development PC.

On my development PC, I created a DSN pointing to the secured MDB. Then
I run a query in Query Analyzer, using OpenRowset with the DSN, and it
works. The legacy data does come across and can be joined with SQL
production data. NOTE: I connect to the local SQL instance running on
my development PC using Windows Authentication. My Windows user identity
has been granted file-system permissions to the legacy Access97 data
directory.

On the SQL production server, I create a DSN in the same way using the
ODBC Connections wizard. All the information is the same. Then I go
back to my development PC and connect to the production SQL instance
with Query Analyzer, only this time I use SQL authentication instead of
Windows authentication (as my users will), but the OpenRowset query
fails with an database initialization error.

Am I correct that when the OpenRowset('MSDASQL',MyDSN ...) query is run
using SQL authentication on the production server, the owner of the
SQL instance on the production server requires Windows file-system
permissions on the legacy data pointed to by the DSN? If yes, how do I
identify and specify "Local System on Another Server" in the
file-permissions dialog?

Thanks!

TR

Similar ThreadsPosted
Is local system account member of local Administrators group? June 21, 2005, 11:33 am
mandatory filesystem ACLs March 9, 2007, 4:14 pm
Ntfs Permissions on a Server 2003 System February 12, 2008, 6:13 am
Automatic certificate enrollment for local system failed August 3, 2006, 10:22 am
"the local policy of this system does not permit you to logon interactively" April 11, 2007, 5:15 pm
Automatic certificate enrollment for local system failed after upgrading member server to domain controller August 25, 2005, 6:11 pm
Permissions - local May 25, 2006, 10:43 am
Re: Copying Local Account Permissions May 9, 2008, 6:50 am
Re: Copying Local Account Permissions May 9, 2008, 2:39 pm
Logon Script set permissions on local directory September 7, 2005, 10:27 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap