Using SSMA to convert an AccessDatabase - sql

I'm trying to convert an AccessDatabase (.accdb) to an SQL Database, using SSMA, and I get some errors:
"Retrieving the COM class factory for component failed due to the
following error: 80040154 Class not registered"
I'm using:
Microsoft Access Database Engine 2010 Redistributable 32 bits
SSMA 32 bit
Microsft Access (Office 365) 32 bit
Widowns 10 Home
Can anyone help me?

When you download SSMA, you get two shortcuts, one for the x32 bit version, and one for the x64 bit version. If you have the x32 access re-dist, then make sure you launch the x32 bit version of SSMA.

Related

How MS Access 64 bit import or link from Visual FoxPro database?

before I use MS Access 2010 32 bit link to Visual FoxPro through ODBC driver. after I upgrade to MS Access 2016 64 bit. the ODBC driver does not show Visual FoxPro databases. and Access cannot connect to VFP. anyone can advise?
There never was nor is a x64 bit version of FoxPro. As a result, if you want to consume VFP files? Then your .net project has to remain x32 bits.
And same goes for using the VFP odbc driver. They are x32 bits only, and thus your .net software, or in this case ms-access software MUST remain as the x32 bit version.
Foxpro is x32 bit technology only - and thus any software that interacts or is to consume VFP data also must remain as x32 bits.
You can't use the x64 bit version of Access - it will not work with x32 bit software.

how to import an excel file use the 64 bit version import export wizard

I'm using SSMS v18.9 and am trying to import excel file (excel for microsoft 365 MSO(16.3.13801) 64bit.
I get the following error: "The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine."
I've read way to many articles and it always says to run the 64 bit import/export wizard. I think I've tried them all to no avail. I downloaded visual studio and the necessary extensions, opened a ssis project and ran the import/export wizard from there and got the same result.
Any help on this is much appreciated.
Hi This issue is due to the PC doesn't have Excel read drivers. Please download and install
Microsoft Access Database Engine 2010 Redistributable
or try this below choose 64 or 32 bit according to you PC.
Download and install Microsoft 365 Access Runtime
Are there any particular reason that you need to use 64 bit? if not follow these steps switch between 32 and 64 bit

Converting Access Database to MSSQL Database Using Microsoft SQL Server Migration Assistant for Access

I am trying to convent a Ms Access Database to MS SQL 2012, using Microsoft SQL Server Migration Assistant for Access version 6.0
but each time i try to convert it an error pops up. any ideas how i can solve the problem i reinstall the program Microsoft SQL Server Migration Assistant for Access , and it worked just ones and after that i have the same error.
any help will be most appreciated
Access Object Collector error: Database
Retrieving the COM class factory for component with CLSID {CD7791B9-43FD-42C5-AE42-8DD2811F0419} failed due to the following
error: 80040154 Class not registered (Exception from HRESULT:
0x80040154 (REGDB_E_CLASSNOTREG)). This error may be a result of
running SSMA as 64-bit application while having only 32-bit
connectivity components installed or vice versa. You can run 32-bit
SSMA application if you have 32-bit connectivity components or 64-bit
SSMA application if you have 64-bit connectivity components, shortcut
to both 32-bit and 64-bit SSMA can be found under the Programs menu.
You can also consider updating your connectivity components from
http://go.microsoft.com/fwlink/?LinkId=197502.
An error occurred while loading database content.
Just to complete the other side of the story...
If you have a 64-bit setup, you might have to go the other direction
and install the 64-bit MSAccess 2010 engine.
I'm running Access 2013, and I believe it is 64-bit.
But the SMAA tool threw the 80040154 error.
I think SMAA can't or doesn't use the 64-bit connectivity drivers that come with 64-bit Access 2013.
So using the 32-bit SMAA didn't help.
Installing the 64-bit 2010 engine did.
I got it as a free standalone download here:
https://www.microsoft.com/en-us/download/details.aspx?id=13255
After the quick install of this, I simply started
SMAA 64-bit again,
and the wizard was successful the first time.
thanks to :
https://social.technet.microsoft.com/Forums/itmanagement/en-US/0249eebf-14bd-45f6-9bca-3b42395a3d13/ssma-60-error-retrieving-the-com-class-factory-for-component-failed-due-to-the-following-error?forum=sqlservermigration
I remember this error. I had to find the EXE for 32-bit SSMA even though I was running 64-bit windows. The default installed location was:
C:\Microsoft SQL Server Migration Assistant for Access\bin
And the filename was:
SSMAforAccess32.exe
[SOLVED]
I encountered the same error while using SSMA v7.7.0 for migrating from MS-Access 2016 DB to SQL Server 2017. Fortunately, I got it fixed by installing Microsoft Access Database Engine 2016 Redistributable
with regards to installing the runtime environment of Access to get around the 80040154 error from SSMA: With Access 2016, I found that the runtime environment would not install because I already had Access installed. I needed to deinstall Access, then install the runtime only version. Then, SSMA would run without the 80040154 error. Total pain tho.
If you're trying to read/write data from/to MS Access database file via .NET application, try to switch the project to x86 architecture. It helps in my case

Error migrating 32-bit Access 2013 DB to 32-bit SQL Server Express

I have a database in 32-bit Access 2013 that I want to migrate to SQL Server Express. I've only installed the 32-bit version of SQL Server Express and I'm using the 32-bit version of Microsoft SQL Server Migration Assistant for Access, but I get the error
Access Object Collector error: Database
Retrieving the COM class factory for component with CLSID {CD7791B9-43FD-42C5-AE42-8DD2811F0419} failed due to the following
error: 80040154. This error may be a result of running SSMA as 64-bit
application while having only 32-bit connectivity components installed
or vice versa. You can run 32-bit SSMA application if you have 32-bit
connectivity components or 64-bit SSMA application if you have 64-bit
connectivity components, shortcut to both 32-bit and 64-bit SSMA can
be found under the Programs menu. You can also consider updating your
connectivity components from
http://go.microsoft.com/fwlink/?LinkId=197502.
An error occurred while loading database content."
Presumably it's finding something 64-bit somewhere, but I can't work out where to look. I've tried the obvious using the 64-bit version of SQL Server Express, but that gives the same message.
Where do I look next?

jdbc connectivity with MS ACCESS

i am trying to establish a connection with access database using java...
But while trying to configure the database it showing the error as architecture mismatch between driver and the application..
My OS is 64 bit and office is 32 bit.... I resovled the same problem in oracle by placing the jar files C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar and C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar in class path. But How can i solve this problem with access....
A 32-bit ODBC Administrator utility (%WINDIR%\SysWOW64\odbcad32.exe) supplied by Microsoft for its 64-bit OS does not solve the archirecture incompatibility since DSNs defined through it are usable only by apps also running in 32-bit mode.
Fortunately, Microsoft realized the issue and provided a component called “Microsoft Access Database Engine 2010 Redistributable”. You can download it from Microsoft site. After executing AccessDatabaseEngine_X64.exe you will be able to see the MS-Access driver under the normal 64-bit ODBC Administrator.