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

SSIS 2010 -Excel Destination - 'No tables or views could be loaded'

Hi All

In SSIS 2010, when I connect to an Excel Destination Task and select the 'Name of the Excel Sheet', I receive a 'No tables or views could be loaded' prompt, and then the below error message:

excel-connection-errmsg.jpg
Steps I've taken through various Google/EE searches:
Installed Microsoft Access Database Engine 2010 Redistributable.

Running the below codetsql-ace-oledb-12-0-allow-in-pro.jpg but when I verify it returns this error messagetsql-ace-oledb-12-0-ole-provider.jpg
Set the solution's Run64BitRuntime property to False.

Windows 7 Enterprise 64-bit, Visual Studio 2010 ??-bit, Office 2010 64-bit.

Thanks in advance.
Jim

Disclaimer:  I've seen a TON of links on this, so if you can't answer the question without pasting a link, odds are you don't have enough experience to provide an answer.
0
Jim Horn
Asked:
Jim Horn
1 Solution
 
Eugene ZCommented:
what one driver  did you install 64 or 32 bit?
--check
http://social.technet.microsoft.com/Forums/sqlserver/en-US/4be2d105-9c7d-43e6-99e8-bc0a6657ddef/the-microsoftaceoledb120-provider-is-not-registered-on-the-local-machine-systemdata?forum=sqldataaccess


---------------------------------



try to set linked server

EXEC master.dbo.sp_addlinkedserver

@server = N'yourExcel',

@srvproduct=N'Excel 12.0',

@provider=N'Microsoft.ACE.OLEDB.12.0',

@datasrc=N'c:\ssis\yourExcel.xlsx',

@provstr=N'Excel 12.0'

 --

more see step -by step

Query and update an Excel 2010 spreadsheet via a linked server
http://akawn.com/blog/2012/01/query-and-update-an-excel-2010-spread-sheet-via-a-linked-server/
0
 
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorAuthor Commented:
As much as this pains me to do so, I'm accepting the above comment, as the link contained the correct answer which is basically:

(1)  SSMS, click on database, then Tools: Tasks: Export Data, and follow the prompts to ensure an export to Excel.  Save as an SSIS package.
(2)  Go into Visual Studio and open the SSIS package created above, then use that as the basis of building your package.

I still don't have an answer as to why this is happening, but at least I can create packages.
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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