Connecting Access database from SQL Server Management Studio

HerrSober

New Member
Joined
Aug 30, 2013
Messages
40
Hi All,

I have most my local Access databases stored on the desktop, however I prefer to work with SQL Server Management Studio. Is there any way of connecting to local Access databases without admin rights?

Best regards
Sober
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Is this part about admin rights relevant? I'm confused as I don't see why that would matter.
 
Upvote 0
Is this part about admin rights relevant? I'm confused as I don't see why that would matter.

Hi Xenau,

I only mentioned admin rights as one approach I tested returned missing admin rights as part of the error message, so please disregard this minor detail.

Best regards
 
Upvote 0
I'd be curious to know what method you tested then - it might be a good place to start.
 
Upvote 0
I'd be curious to know what method you tested then - it might be a good place to start.

I tried to add a new query with the following statement:

----EXEC sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
EXEC sp_configure 'Ad Hoc Distributed Queries', 1;
GO
RECONFIGURE;
GO

USE [DatabaseName]

GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO

SELECT * FROM OPENDATASOURCE('Microsoft.ACE.OLEDB.14.0','Data Source="C:\Databases\dbNorthwind.accdb"')...tblCustomers;

It returned the following error:
"Msg 5812, Level 14, State 1, Line 3
You do not have permission to run the RECONFIGURE statement..."
 
Upvote 0
Why are you using RECONFIGURE?
Have you tried not using that?
 
Upvote 0
Why are you using RECONFIGURE?
Have you tried not using that?
Yes, if I run
Code:
[COLOR=#333333]SELECT * FROM OPENDATASOURCE('Microsoft.ACE.OLEDB.15.0','Data Source="C:\Databases\dbNorthwind.accdb"')...tblCustomers;[/COLOR]

I get:
Msg 7403, Level 16, State 1, Line 2. The OLE DB provider "Microsoft.ACE.OLEDB.15.0" has not been registered.

(also tried with Microsoft.ACE.OLEDB.14.0). I currently run Access 2013 32-bit.
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top