Re: Linked Server to MS Access Database Using Mapped Drive

From: BP Margolin (bpmargo@attglobal.net)
Date: 08/28/02


From: "BP Margolin" <bpmargo@attglobal.net>
Date: Tue, 27 Aug 2002 22:40:53 -0400


Mark,

Security is certainly a good first guess :-)

Check to see if your SQL Server instance is running under the LocalSystem
account. The LocalSystem account has no network permissions. If it is
running under LocalSystem, consider changing the account to a Domain account
with more appropriate permissions.

-------------------------------------------
BP Margolin
Please reply only to the newsgroups.
When posting, inclusion of SQL (CREATE TABLE ..., INSERT ..., etc.) which
can be cut and pasted into Query Analyzer is appreciated.

"Mark Johnson" <no-reply@nospam.com> wrote in message
news:#UehirhTCHA.3896@tkmsftngp11...
> Hello:
>
> As you may or may not have seen from my recent postings in this group, I
> have been working on creating a linked server connection to an access
> databas on the same server as the sql server installation, which I have
done
> successfully. however, when I try to change the location of the databse
to
> a mapped drive to another server, I get this error:
>
> ===============================
> Server: Msg 7399, Level 16, State 1, Line 1
> OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error.
> [OLE/DB provider returned message: 'z:\test\mydb.mdb' is not a valid path.
> Make sure that the path name is spelled correctly and that you are
connected
> to the server on which the file resides.]
> ===============================
>
> I get a similar error if I try to use the UNC pathname for the connection
> (\\myserver\sharename\test\mydb.mdb).
>
> Any ideas on this? I think it has something to do with what user SQL
server
> is running as, and security permissions to that mapped drive are not
> sufficient to connect to it as the user that SQL Server is running as.
Any
> ideas on this?
>
> - Mark
>
>



Relevant Pages

  • Re: Compromise?
    ... Yes, if you don't provide a password on your SA account, anybody able to run ... and connect now has complete control over your SQL Server. ... Server has. ...
    (microsoft.public.sqlserver.security)
  • Re: Windows Auth to SQL Server from ATL Web Service not working...
    ... account I'm logged on as. ... SQL on a different box from my web service in an Atl Server web ... impersonation token is not passed on to the SQL Server. ... Event Category: Account Logon ...
    (microsoft.public.vc.atl)
  • Re: Discussing 3 different strategies for deleting from multiple tables
    ... I will be using SQL Server but I am riding on top of a third party ... FYI, Account contains around 20K ... >>> This results in one parameterized query followed by two more trips to ...
    (microsoft.public.data.ado)
  • RE: connection problems in secondary site and SQL server
    ... Do you have a Windows 2003 server anywhere in your environment? ... i can't add this account to this group. ... SMS Management Point encountered an error when connecting to its Database ... SMS on SQL Server My_Primary_SMS_Server. ...
    (microsoft.public.sms.admin)
  • RE: MP Install issue
    ... Will setting the SPN on the domain account fix the communication issue ... >> MPDB ERROR - CONNECTION PARAMETERS ... >> with a trusted SQL Server connection. ...
    (microsoft.public.sms.setup)