2

I'm trying to establish a linked server from SQL Server 2008 R2 to an Access database. The Access database is not password protected. As I have seen in other posts (specifically this one), this is usually due to the current user not having access to the Temp folder inside the NetworkService folder. Since we are running this in Windows Server 2008, the directory structure is quite different than what most are alluding to. I have allowed access to every temp folder in the "root:\Documents and Settings\" directory, and to no avail.

This is the procedure I am using to add the linked server:

EXEC sp_addlinkedserver 
@server = N'OS_Access', 
@provider = N'Microsoft.ACE.OLEDB.12.0', 
@srvproduct = N'',
@datasrc = N'C:\RTBData\Data\OS.mdb';
GO

It creates the linked server with no problem, but I am not able to view the tables/views of the database. Likewise, my ASP.NET application cannot access it either.

I have tried both ACE and JET(64-bit)(by installing the Data Connectivity Components for Office), and they both do not work. I have also tried configuring the ACE provider with "Dynamic Parameter" and "Allow InProcess" to true.

Additionally, I tried upping the memory usage by the MSSQLSERVER services by adding "-g512;" in front of "startup parameters" string in SQL configuration manager to rule out memory issues.

If anyone could shed some light on this that would be fantastic! Thanks!

Michael Green
25.3k13 gold badges54 silver badges100 bronze badges
asked Mar 15, 2013 at 21:01
3
  • 1
    Have you tried installing the Data Connectivity Components for Office for that provider? microsoft.com/en-us/download/details.aspx?id=23734 Commented Mar 15, 2013 at 21:19
  • I apologize, that is what I meant by using ACE and 64-bit JET. I will edit the question to reflect. Commented Mar 15, 2013 at 21:24
  • No apology necessary. I just installed that package, and it doesn't work for me either. Commented Mar 15, 2013 at 21:32

1 Answer 1

2

I fixed the problem by disabling UAC within the control panel. I am unsure what changes this made, but it might help others!

answered Apr 10, 2013 at 18:21

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.