Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Import Excel 2007 into SQL 2000 with OpenRowSet - Access D..

 
   Database Help (Home) -> ODBC RSS
Next:  Using Option Buttons  
Author Message
Gary King

External


Since: Oct 07, 2008
Posts: 1



(Msg. 1) Posted: Tue Oct 07, 2008 6:54 am
Post subject: Import Excel 2007 into SQL 2000 with OpenRowSet - Access Denied
Archived from groups: microsoft>public>sqlserver>odbc (more info?)

I am trying to import data from an Excel 2007 file into SQL 2000 using the
following:

SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0','Excel
12.0;Database=c:\Excel2007.xlsx', 'select * from Sheet1$')

This works fine on my XP Pro machine running a local SQL instance. I have
Office 2003 with the 2007 compatibility pack installed. I have also installed
AccessDatabaseEngine.exe

However when I try the exact same on a 2003 server which has Office 2003
with all of the above I get the access denied error below.

OLE/DB Provider 'Microsoft.ACE.OLEDB.12.0' IUnknown::QueryInterface returned
0x80070005: Access denied

The logoin account that I am using has full admin priveleges on the server.
I can open the Excel file with Excel 2003.

Also, if I change the filename in the query to a non-existant file, it
returns the same access denied error.
Maybe the error does not pertain to the file itself, instead could it be
something else?

Any ideas?

Thanks
Gary

 >> Stay informed about: Import Excel 2007 into SQL 2000 with OpenRowSet - Access D.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Connection to SQL Server failed using Excel 2007 - We have Excel 2007 spreadsheets that are connected to Queries in Access 2007, in turn the Queries in Access have link tables to an SQL Server. The SQL Server requires the user to login with a user-id and password. In previous versions of Access and..

OpenRowSet Error - Has anyone ever seen this error? If so what did you do to fix Cannot bulk load. Invalid column number in the format file

Error Handling with openrowset - I am using openrowset to interact with some fox pro tables. I want to be able do error handling if the openrowset quiery fails. When the quiery gets and error it terminates and does not seem to return and error status. Here is a code sample. Update ....

No Jet OLEDB provider to link an Access 2000 database to S.. - Hi all, I need to link a legacy Access 2000 database to SQL Server 2005 64 bits. My test server is a 32 bits XP running developer's version of SQL Server 2005 (32bits). In the object explorer Server/Server Objects/Linked Servers/Providers it lists..

Import help - We recently purchased a new SQL 2005 server that I need to import a DB from another server. in order to connect to the "other" server I have to use a 3rd party thoroughbred odbc driver. On our old SQL2000 box to perform this task I would sel...
   Database Help (Home) -> ODBC All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]