Oracle Universal Installer停留在第10步中的第7步 [英] Oracle Universal Installer is stuck on step 7 out of 10

查看:371
本文介绍了Oracle Universal Installer停留在第10步中的第7步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以前有一台笔记本电脑,我的c#代码已连接到oracle数据库,并且在那里安装Oracle Universal Installer时没有问题.

但是随后它崩溃了,现在我将我的项目转移到另一台笔记本电脑上.现在,当我尝试在新笔记本电脑上运行代码时,它出现了如下错误:

System.TypeInitializationException:"Oracle.DataAccess.Client.OracleConnection"的类型初始值设定项引发了异常. ---> Oracle.DataAccess.Client.oracleException:提供程序与Oracle客户端的版本不兼容

所以我要做的是尝试从 https://www.oracle.com/database/technologies/dotnet-odacdev-downloads.html

但是安装永远不会结束.它停留在第7步(共10步)中.请在此处查看屏幕截图 https://imgur.com/a/DYgNcOH

请帮助!!!

解决方案

不清楚可能是什么问题,Oracle Installer存在多个问题.

也许您已经安装了多个Oracle Client.在安装一个新客户端之前,应完全删除所有现有客户端.请参见如何卸载/完全删除Oracle 11g(客户端)?寻求帮助.您不应将安装与Oracle Universal安装程序和ODAC混合使用,只能使用一种类型.我很难让他们一起工作.

在启动Oracle Universal安装程序之前,请清除TEMP文件:

FOR /D %D in ( %TEMP%\deinstall* ) DO rmdir /S /Q %%D
FOR /D %D in ( %TEMP%\OraInstall* ) DO rmdir /S /Q %D
FOR /D %D in ( %TEMP%\CVU* ) DO rmdir /S /Q %D

确保以管理员身份启动Oracle Universal Installer.确保安装与应用程序相同的体系结构(即32位和64位).

由于错误17548895:自定义安装失败以包含ORACLSCE12.DLL 如果运行自定义安装",则必须在安装中包括组件"Oracle Net"

Oracle 12.1和更高版本不再在GAC中注册 Oracle数据提供程序.NET ,请参见 SSMA无法找到指定的提供者以寻求解决方案. >

I have a previous laptop where my c# code is connected to oracle database and had no problem when I installed there the Oracle Universal Installer.

But then it crashes and now I am transferring my project to a different laptop. Now when I tried to run my codes on the new laptop, it has now error such as below:

System.TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception. ---> Oracle.DataAccess.Client.oracleException: The provider is not compatible with the version of Oracle client

So what I did is I try to install the Oracle Universal Installer (the same installer I used from my previous laptop) ODAC 12.2.0.1.1 from https://www.oracle.com/database/technologies/dotnet-odacdev-downloads.html

But installation never ends. It stuck on Step 7 of 10. Please see screenshot here https://imgur.com/a/DYgNcOH

Please help!!!

解决方案

Not clear what the problem could be, there are several issues with the Oracle Installer.

Perhaps you have installed more than one Oracle Client. You should remove any existing clients entirely before you install one fresh Client. See How to uninstall / completely remove Oracle 11g (client)? for help. You should not mix installations with Oracle Universal installer and ODAC, use only one type. I can be rather difficult to make them working together.

Before you launch the Oracle Universal installer clear TEMP files:

FOR /D %D in ( %TEMP%\deinstall* ) DO rmdir /S /Q %%D
FOR /D %D in ( %TEMP%\OraInstall* ) DO rmdir /S /Q %D
FOR /D %D in ( %TEMP%\CVU* ) DO rmdir /S /Q %D

Ensure you started the Oracle Universal Installer as Administrator. Ensure you install the same architecture (i.e. 32-bit vs. 64-bit) as your application.

Due to Bug 17548895: CUSTOM INSTALL FAILS TO INCLUDE ORACLSCE12.DLL you have to include component "Oracle Net" in your installation if you run "Custom Install"

Oracle 12.1 and higher does not register the Oracle Data Provider for .NET in the GAC anymore, see Doc ID 2272241.1. See SSMA unable to find specified provider for solution.

这篇关于Oracle Universal Installer停留在第10步中的第7步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆