ASPSnippets

Alerts
Get notified when a new article is published.

Name
 
Email

Your email will always be private and will not be shared.

Follow us on twitter.
 
The OLE DB provider Microsoft.Ace.OLEDB.12.0 for linked server (null)
Author Name: Mudassar Khan Published Date: June 06, 2009
Filed Under :
SQL Server
 |
Issues and Exceptions
Views: 4933

Msg 7399, Level 16, State 1, Line 2

The OLE DB provider "Microsoft.Ace.OLEDB.12.0" for linked server "(null)" reported an error. Access denied.

Msg 7350, Level 16, State 2, Line 2

Cannot get the column information from OLE DB provider "Microsoft.Ace.OLEDB.12.0" for linked server "(null)".

 

There are multiple reasons and multiple solutions to this problem. I will explain all the ones that I found while researching on the net and which together helped me to solve mine

 

Solution 1

First you need to check whether you have installed the 2007 Office System Driver: Data Connectivity Components which is necessary for Microsoft OLEDB ACE 12.0 driver to work. So if you have not done that download it by clicking the link below.

2007 Office System Driver: Data Connectivity Components

Once you downloaded and installed it on your system restart your machine to see if the issue is resolved for you or not.

 

Solution 2

Check whether the user login that you are accessing has rights on SQL Server Service or not. If not you will have to give your credentials so that the SQL Service runs using your login credentials.

Steps

1. Close SQL Server Management Studio. Type Services.msc in the run command to open the services window

2. Search for SQL Server Service and right click it and select properties as shown below


Search for SQL Server Service and right click properties

3. In the Log On Tab, select This Account. Click on Browse and type your login name there and the click on Check Names


Click on Check names to find your login account

4. Once it finds your login name press OK.

5. Now type your login’s passwords in both the fields as shown below press apply and then ok


Fill your username and password in the fields



6. Restart the services so that the new changes are applied as shown in figure below.

7. Now start SQL Server Management Studio and try to run the query if still not working try a system restart


Restart the SQL Server Service

 

 

 

Solution 3

Run the following Query in your SQL Server Management Studio close it and start again

USE [master] 

GO 

EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'AllowInProcess', 1 

GO 

EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'DynamicParameters', 1 

GO 

 

I tried all of the above three solutions to get rid of the above error of which the first one is necessary

If any has some other solution that helped him solve the issue please share

 


If you like this article, help us grow by bookmarking this page on any social bookmarking site.
Bookmark and Share Page copy protected against web site content infringement by Copyscape

Related Articles

Comments

Add Comments

You can add your comment about this article using the form below. Make sure you provide a valid email address
else you won't be notified when the author replies to your comment

Please note that all comments are moderated and will be deleted if they are
  • Not relavant to the article
  • Spam
  • Advertising campaigns or links to other sites
  • Abusive content.
There is no need to add BR tags. Simply press enter for new line

Name*  
Email*
Comment*  
Security code
Security code



 


Community News