Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

In SQL Server 2008, I am receiving an error whenever I try to access any linked server based on a mdb or xls file

Posted on 2009-05-05
9
Medium Priority
?
256 Views
Last Modified: 2012-05-06
I am getting the error:

OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "LA_CITIZENS_CURRENT_ACCESS_DB" returned message "Unspecified error".
Msg 7303, Level 16, State 1, Procedure loadMonthlyMDBData, Line 38

Whenever I try to create a linked server based on an Office product like an Access database or Excel spreadsheet.  It doesn't seem to matter whether the file is local or on the network.  Linked files have been working fine for months until today.  Had to restart SQL Server a couple of days ago, not sure if that makes a difference.  Linked Servers connecting to other databases seem to be working fine
0
Comment
Question by:sheafsu
  • 4
  • 3
  • 2
9 Comments
 
LVL 31

Accepted Solution

by:
RiteshShah earned 1500 total points
ID: 24311585
Can you please drop your linked server and create it again with the steps I have provided in my below article.

http://www.sqlhub.com/2009/03/linked-server-in-sql-server-2005-from.html
0
 
LVL 30

Expert Comment

by:nmcdermaid
ID: 24311591
Can you copy the MDB or Excel file to a computer which has Excel or MS Access installed, and try opening it with Excel/Access. It may give you a better error message.
Why did you restart the SQL Service?
0
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24311621
nmcdermaid,

I have doubts about excel/access file, I wonder if it not corrupted.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 30

Expert Comment

by:nmcdermaid
ID: 24311650
Yes, thats why you need to copy it somewhere that has Excel or Access and try opening it there.
0
 
LVL 30

Expert Comment

by:nmcdermaid
ID: 24311653
Sorry, thought you were the original poster.
0
 
LVL 51

Expert Comment

by:Mark Wills
ID: 24311907
Could be a permissions thingy, is there anything else different other than restarting the services e.g. updating Office ? Have shares or permissions changed especially for the SQL services owner (ie the account used to start and run those services) ? Is it only linked servers using Jet ?
0
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24311956
mark_wills,

we are in blind so far that is why I suggested to check whether files are not corrupted and create linked server again so that if proper steps follows while creating the linked server again, permission error could be resolved.
0
 
LVL 51

Expert Comment

by:Mark Wills
ID: 24312909
Yep, but is was working...
0
 
LVL 30

Expert Comment

by:nmcdermaid
ID: 24320583
Thats why I wanted to know why he restarted the service originally - was it to change the logon account perhaps?
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to shrink a transaction log file down to a reasonable size.

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question