We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

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

Medium Priority
203 Views
Last Modified: 2012-08-14
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.
Comment
Watch Question

Commented:
Is access closed ?

Commented:
try this

SELECT * FROM ExcelSource1...Sheet$

Commented:

SELECT * FROM RMAData...RMA$

Author

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.

Author

Commented:
what does closed mean?  I don't currently have any users in the database.  Do I somehow need to open access first?
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!

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.