Home Forums SQL Server 2005 Administering Create a linked server into MS Access which reside in the remote Server. RE: Create a linked server into MS Access which reside in the remote Server.

  • zozilany (8/15/2011)


    I am trying to create a Linked Server to an MS Access database on a computer other than where SQL Server resides. I can create the linked server if the path is local (same computer as where SQL Server resides) but when I try to create a linked server to a copy of the same MS Access database but on another computer using a remote server path, it won't work, It says, Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "<linked server name>". (Microsoft SQL Server, Error: 7303)

    Is it necessary to specify a Local Login and Remote User in the 'Local server login to remote server login mappings' section? How to do the login mappings and what kind of permission need to have the SQL Server user account?

    Your help is appreciated.

    Regards, Ravi

    Ravi I'm pretty sure the issue is network permissions.

    the account which SQL server uses to run the service will need read/write access to that file share (\\UNC_Path\SharedFolder\); that's why when a local copy is set up it works (because these accounds have access tot he local disks) but not when you try to use a remote file...you end up getting error 5 , which is permission denied.

    I believe if you have set up a proxy account, if you are sysadmin, it will use that account no matter what, and that account might not be the same as the one that runs the service.

    the account in services:

    so you might need to make sure the proxy account has permissions to the file share where the access database exists.

    once raw access is available, then SQL uses that linked server, and it starts passing the remote username and remote passwords if you are using them.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!