Unable to uninstall Oracle 11g Database Express Edition - database

I am attempting to uninstall Oracle 11g database and do a reinstall because of some errors. I am on Windows 10 and was uninstalling from the Control Panel. However, my uninstall window got closed toward the end and now when I go back the Control Panel, it still shows an entry for "Oracle Database 11g Express Edition" which is of 527 MB.
Now it doesn't let me uninstall anymore, it gives me an error "1628: Failed to complete installation.".
I have tried reinstalling the software using the Oracle universal installer but that only gives options to Repair and Remove. Clicking Repair or clicking Remove gives "Error 1605: This action is only valid for products that are currently installed."
How can i reinstall the database?

go to C:\Program Files (x86)\InstallShield Installation Information and delete all the files over there and try running the Oracle Universal Installer (Oracle XE) again.

Related

Excel file import into SQL [duplicate]

I get this error when I try to connect to any excel through MSSQL Server Data Import i.e. SSIS package The Microsoft.ACE.OLEDB.16.0 provider is not registered on the local machine. (System.Data)
It is not the same version I think some other patching is needed
For anyone that is still stuck on this issue after trying the above. If you are right-clicking on the database and going to tasks->import, then here is the issue. Go to your start menu and under sql server, find the x64 bit import export wizard and try that. Worked like a charm for me, but it took me FAR too long to find it Microsoft!
Note: I am running SQL 2016 Developer 64bit, Office 2016 64bit.
I had the same issue and solved it by downloading the following:
Download and install this:
https://www.microsoft.com/en-us/download/details.aspx?id=54920
Whatever file you are trying to access/import, make sure you select it as a Office 2010 file (even though it might be a Office 2016 file).
It works.
Source
As a quick workaround I just saved the workbook as an Excel 97-2003 .xls file. I was able to import with that format with no error.
If you have OS(64bit) and SSMS(64bit) and already install the AccessDatabaseEngine(64bit) and you still received an error, try this following solutions:
1: direct opening the sql server import and export wizard.
if you able to connect using direct sql server import and export wizard, then importing from SSMS is the issue, it's like activating 32bit if you import data from SSMS.
Instead of installing AccessDatabaseEngine(64bit) , try to use the AccessDatabaseEngine(32bit) , upon installation, windows will stop you for continuing the installation if you already have another app installed , if so , then use the following steps. This is from the MICROSOFT. The Quiet Installation.
If Office 365 is already installed, side by side detection will prevent the installation from proceeding. Instead perform a /quiet install of these components from command line. To do so, download the desired AccessDatabaseEngine.exe or AccessDatabaeEngine_x64.exe to your PC, open an administrative command prompt, and provide the installation path and switch Ex: C:\Files\AccessDatabaseEngine.exe /quiet
or check in the Addition Information content from the link below,
https://www.microsoft.com/en-us/download/details.aspx?id=54920
An alternative that works for me is to simply convert to a CSV.
Against other answers here, you can just install "ACEDB driver 64-bit" next to the other 64-bit Microsoft program.
In my case, I had "Microsoft 365" 64-bit (Microsoft Office 365) installed.
Because of the error
'Microsoft.ACE.OLEDB.16.0' provider is not registered on the local
machine. (System.Data)
I tried installing Microsoft Access Database Engine 2016 Redistributable. But I got errors for 32-bit and 64-bit installers.
64-bit:
You cannot install the 64-bit version of Microsoft Access Database
Engine 2016 because you currently have 64-bit Office products
installed. If you want to install 32-bit Microsoft Access Database
Engine 2016, you will first need to remove the 64-bit installation of
Office products. After uninstalling the following product(s), rerun
setup in order to install 32-bit version of Microsoft Access Database
Engine 2016: Office 16 Click-to-Run Extensibility Component 64-bit
Registration
or 32-bit:
You cannot install the 32-bit version of Microsoft Access Database
Engine 2016 because you currently have 64-bit Office products
installed. If you want to install 32-bit Microsoft Access Database
Engine 2016, you will first need to remove the 64-bit installation of
Office products. After uninstalling the following product(s), rerun
setup in order to install 32-bit version of Microsoft Access Database
Engine 2016: Office 16 Click-to-Run Extensibility Component 64-bit
Registration
I could not uninstall single components:
The steps:
No need to uninstall and reinstall anything.
Press "Download" at Microsoft Access Database Engine 2016 Redistributable
Choose AccessDatabaseEngine_X64.exe. No need to install 32-bit AccessDatabaseEngine.exe, against other answers.
Run the executable from command prompt:
C:\Users\myuser\Downloads>AccessDatabaseEngine_X64.exe /quiet
Press OK for the administrator rights if asked for.
After this, my macro could fetch data from an Excel worksheet. I checked my local Microsoft Access of the Microsoft 365 package and it still worked.
Credits go to You cannot install the 32/64 bit version of Microsoft Access Database Engine because you currently have 64/32 bit Office and its source at How to install Microsoft.Ace.oledb 32 bit with Office 64-bit?.
ACE.oledb.16.0 dosen't work in the 64-bit os
download patch from
https://www.microsoft.com/en-us/download/details.aspx?id=13255
If you have Office 365:
Download 32 Bit version here
Run Command Prompt as Administrator --> C:\Downloads\AccessDatabaseEngine.exe /quiet
Close SSMS & Reopen, Try Importing File again.
Doesnt work?
Download 64 bit version here
Run Command Prompt as Administrator --> C:\Downloads\AccessDatabaseEngine_X64.exe /quiet
Close SSMS & Reopen, Import File.
Note:
Path to dowbloaded executable might be "C:\Downloads\User\USERNAME\Downloads\AccessDatabaseEngine.exe" for example
You have to use now the new XLSX-Driver from Access-Redist (32/64-Bit).
The current XLS-Driver are corrupted since last cumulative update.
Follow these steps:
Go [here][1], download Microsoft Access Database Engine 2016 Redistributable and install
Close SQL Server Management Studio
Go to Start Menu -> Microsoft SQL Server 2017 -> SQL Server 2017 Import and Export Data (64-bit)
Open the application and try to import data using the "Excel 2016" option, it should work fine.
After having both installed the Microsoft Access Database Engine 2016 Redistributable and found the x64 bit import export wizard as instructed in the answers above, I had one last hoop to jump through. I got this error 'Executing the query "CREATE TABLE ...." failed with the following error: "Culture is not supported ... 3072 (0x0c00) is an invalid culture identifier."'
The fix was to go to Control Panel -> Clock and Region -> change my "English (Finland)" region to pure Finnish (Finland). Other more traditional cultures such as en-US will work too. I think I first saw this solution here: Fix culture is not supported: 3072 by changing Region Formats

How to uninstall MSDE on Windows 10?

I just upgraded my PC from Windows 7 to Windows 10. I did this because I need to upgrade SQL Server from 2014 to 2016 to match our production environment. I am unable to uninstall SQL Server 2014 due to a bug that seems to be due to SQL Server 2000 MSDE also being installed on my PC (I did not install this - can only assume it was bundled with some other software, maybe an old version of Visual Studio?)
The error message when attempting to uninstall SQL Server 2014 is:
SQL Server Setup has encountered the following error: '.', hexadecimal
value 0x00, is an invalid character. Line 1, position 212550. Error
code 0x84B10001.
The proposed fix for this issue is to uninstall MSDE. Unfortunately I cannot uninstall MSDE either. If I try to remove it via Control Panel, after clicking the UAC prompt, the dialog closes and nothing happens.
I found this page that claims to show how to remove MSDE manually if it won't install from Control Panel:
However none of this works either. The registry entries don't exist, so I cannot determine the product code from them, so I can't use MSIZAP.EXE. I managed to delete the files under Program Files as directed, and removed the registry entries for the services, but this does not fix the issue - Microsoft SQL Server Desktop Engine (SQL2000) is still list on Programs and Features on Control Panel, and I still can't uninstall SQL Server 2014.
I have attempted to install SSMS 17.3 only, but install fails with error code 0x80070643.
I think all I can do at this point is wipe my laptop and reinstall Windows 10 from scratch if I can't solve this.

'Microsoft.ACE.OLEDB.16.0' provider is not registered on the local machine. (System.Data)

I get this error when I try to connect to any excel through MSSQL Server Data Import i.e. SSIS package The Microsoft.ACE.OLEDB.16.0 provider is not registered on the local machine. (System.Data)
It is not the same version I think some other patching is needed
For anyone that is still stuck on this issue after trying the above. If you are right-clicking on the database and going to tasks->import, then here is the issue. Go to your start menu and under sql server, find the x64 bit import export wizard and try that. Worked like a charm for me, but it took me FAR too long to find it Microsoft!
Note: I am running SQL 2016 Developer 64bit, Office 2016 64bit.
I had the same issue and solved it by downloading the following:
Download and install this:
https://www.microsoft.com/en-us/download/details.aspx?id=54920
Whatever file you are trying to access/import, make sure you select it as a Office 2010 file (even though it might be a Office 2016 file).
It works.
Source
As a quick workaround I just saved the workbook as an Excel 97-2003 .xls file. I was able to import with that format with no error.
If you have OS(64bit) and SSMS(64bit) and already install the AccessDatabaseEngine(64bit) and you still received an error, try this following solutions:
1: direct opening the sql server import and export wizard.
if you able to connect using direct sql server import and export wizard, then importing from SSMS is the issue, it's like activating 32bit if you import data from SSMS.
Instead of installing AccessDatabaseEngine(64bit) , try to use the AccessDatabaseEngine(32bit) , upon installation, windows will stop you for continuing the installation if you already have another app installed , if so , then use the following steps. This is from the MICROSOFT. The Quiet Installation.
If Office 365 is already installed, side by side detection will prevent the installation from proceeding. Instead perform a /quiet install of these components from command line. To do so, download the desired AccessDatabaseEngine.exe or AccessDatabaeEngine_x64.exe to your PC, open an administrative command prompt, and provide the installation path and switch Ex: C:\Files\AccessDatabaseEngine.exe /quiet
or check in the Addition Information content from the link below,
https://www.microsoft.com/en-us/download/details.aspx?id=54920
An alternative that works for me is to simply convert to a CSV.
Against other answers here, you can just install "ACEDB driver 64-bit" next to the other 64-bit Microsoft program.
In my case, I had "Microsoft 365" 64-bit (Microsoft Office 365) installed.
Because of the error
'Microsoft.ACE.OLEDB.16.0' provider is not registered on the local
machine. (System.Data)
I tried installing Microsoft Access Database Engine 2016 Redistributable. But I got errors for 32-bit and 64-bit installers.
64-bit:
You cannot install the 64-bit version of Microsoft Access Database
Engine 2016 because you currently have 64-bit Office products
installed. If you want to install 32-bit Microsoft Access Database
Engine 2016, you will first need to remove the 64-bit installation of
Office products. After uninstalling the following product(s), rerun
setup in order to install 32-bit version of Microsoft Access Database
Engine 2016: Office 16 Click-to-Run Extensibility Component 64-bit
Registration
or 32-bit:
You cannot install the 32-bit version of Microsoft Access Database
Engine 2016 because you currently have 64-bit Office products
installed. If you want to install 32-bit Microsoft Access Database
Engine 2016, you will first need to remove the 64-bit installation of
Office products. After uninstalling the following product(s), rerun
setup in order to install 32-bit version of Microsoft Access Database
Engine 2016: Office 16 Click-to-Run Extensibility Component 64-bit
Registration
I could not uninstall single components:
The steps:
No need to uninstall and reinstall anything.
Press "Download" at Microsoft Access Database Engine 2016 Redistributable
Choose AccessDatabaseEngine_X64.exe. No need to install 32-bit AccessDatabaseEngine.exe, against other answers.
Run the executable from command prompt:
C:\Users\myuser\Downloads>AccessDatabaseEngine_X64.exe /quiet
Press OK for the administrator rights if asked for.
After this, my macro could fetch data from an Excel worksheet. I checked my local Microsoft Access of the Microsoft 365 package and it still worked.
Credits go to You cannot install the 32/64 bit version of Microsoft Access Database Engine because you currently have 64/32 bit Office and its source at How to install Microsoft.Ace.oledb 32 bit with Office 64-bit?.
ACE.oledb.16.0 dosen't work in the 64-bit os
download patch from
https://www.microsoft.com/en-us/download/details.aspx?id=13255
If you have Office 365:
Download 32 Bit version here
Run Command Prompt as Administrator --> C:\Downloads\AccessDatabaseEngine.exe /quiet
Close SSMS & Reopen, Try Importing File again.
Doesnt work?
Download 64 bit version here
Run Command Prompt as Administrator --> C:\Downloads\AccessDatabaseEngine_X64.exe /quiet
Close SSMS & Reopen, Import File.
Note:
Path to dowbloaded executable might be "C:\Downloads\User\USERNAME\Downloads\AccessDatabaseEngine.exe" for example
You have to use now the new XLSX-Driver from Access-Redist (32/64-Bit).
The current XLS-Driver are corrupted since last cumulative update.
Follow these steps:
Go [here][1], download Microsoft Access Database Engine 2016 Redistributable and install
Close SQL Server Management Studio
Go to Start Menu -> Microsoft SQL Server 2017 -> SQL Server 2017 Import and Export Data (64-bit)
Open the application and try to import data using the "Excel 2016" option, it should work fine.
After having both installed the Microsoft Access Database Engine 2016 Redistributable and found the x64 bit import export wizard as instructed in the answers above, I had one last hoop to jump through. I got this error 'Executing the query "CREATE TABLE ...." failed with the following error: "Culture is not supported ... 3072 (0x0c00) is an invalid culture identifier."'
The fix was to go to Control Panel -> Clock and Region -> change my "English (Finland)" region to pure Finnish (Finland). Other more traditional cultures such as en-US will work too. I think I first saw this solution here: Fix culture is not supported: 3072 by changing Region Formats

Unable to install Microsoft SQL Server 2012 Developer

I have a problem with installing SQL Server 2012 (no matter which edition I choose).
Installation usually runs well, but near the end shows up an error:
The help link points to not-existing article on MSDN page.
After I click OK button, the installation reaches it's end and shows up another window:
After that I am able to start, for example SQL Management Studio, but cannot connect to database. Also services of SQL Server are stopped and I am not able to start them manually (any try throws an undefined error):
I tried complete reinstalling of SQL Server, cleaning registry entries, different editions of that software - none method helped. Also, I tried the .iso images of installation media on other computers - it worked well and installed without any errors.
My OS is Windows 8.1 x64.

How to reinstall Enterprise Manager for Oracle database on 11gR2

I installed Oracle Database 11gR2 on Windows 7 using the OUI but just before the finish screen it gave a warning stating that Enterprise Manager could not be setup and gave a list of commands to execute through the command-line.
Just as I executed one of them the antivirus installed i.e. AVG Antivirus gave a threat from file emagent.exe. Along with this file many other files required for Enterprise Manager to be setup were deleted by the antivirus.
Is there a way to re-install Enterprise Manager for the database already created?
Yes, you can re-install OEM with an existing database repository. Just follow the installer screens for setting up an additional OMS node and fill in the database repository information when asked. If the first install completed correctly everything should work, if not you can start again and just delete the repository first (instructions to do this are in the install notes).

Resources