Wednesday, 24 August 2016

New Features of SQL Server 2005

Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine (Solved)

Solve following error on extracting data from excel through SSIS, I have  Office  2016 (64 bit) and SSIS on SQL Server 2016 (64 bit)


Exception from HRESULT: 0xC020801C
Error at Package [Connection manager "Excel Connection Manager"]: The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. If the 32-bit driver is not installed, run the package in 64-bit mode. Error code: 0x00000000.
An OLE DB record is available.  Source: "Microsoft OLE DB Service Components"  Hresult: 0x80040154  Description: "Class not registered".

Error at Package [Connection manager "Excel Connection Manager"]: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=219816

Error at Import Countries into Excel [Excel Source [38]]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0209302.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.


Download the database engine for Access 2013 from the following location.

https://www.microsoft.com/en-in/download/details.aspx?id=39358

After installing this the issue got resolved.



Show Excel cell as password TextBox

How do we show the Excel cell has password textbox, So that the person cannot view the value of the cell, but the value can be read through VBA.

Right Click –> Format Cells –> Number Tab

Enter  following value and then Click Ok.

;;;**