• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 161
  • Last Modified:

Strange error selecting data from Access 2007 Linked Server via SQL Server 2000

I am using SQL server 2000 and have successfully created a linked server to an Access 2007 database.   By successful I mean I can expand the linked server and see the tables.  However, when I run a simple select from one of the tables, I get the following error:

OLE DB provider 'Microsoft.ACE.OLEDB.12.0' returned an invalid schema definition.

My code is: SELECT * FROM RMAData...RMA

Is there a problem with SQL Server 2000 and Access 2007 playing nice?  Is there something else I need to specify in my connection?  The permissions are all setup in the linked server connection.
0
mizveggie
Asked:
mizveggie
  • 3
  • 3
1 Solution
 
EmesCommented:
Is access closed ?

0
 
EmesCommented:
try this

SELECT * FROM ExcelSource1...Sheet$
0
 
EmesCommented:

SELECT * FROM RMAData...RMA$
0
Independent Software Vendors: 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!

 
mizveggieAuthor Commented:
When I use your code I get the following error:
OLE DB provider 'RMAData' does not contain table 'RMA$'.  The table either does not exist or the current user does not have permissions on that table.
0
 
mizveggieAuthor Commented:
what does closed mean?  I don't currently have any users in the database.  Do I somehow need to open access first?
0
 
mizveggieAuthor Commented:
I also have a server running SQL Server 2005.  When I create the linked server from 2005 it works perfectly.  My deduction is that Access 2007 and SQL Server 2000 are not compatible.  If anyone knows any differently, please let me know!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now