在启动 admin console, 登录后, 跳出窗口错误:
ODP.net is not registered at the machine-wide level. For more information, refer to the Tecnomatix administration guide.
Solution在 Tecnomatix 的 帮助文件中, 有如下的描述:
Oracle > Installing and configuring Oracle for Tecnomatix applications > ODP.NET registration in GAC
From Oracle 12.2, the client installation does not register ODP.NET automatically. In order to register ODP.NET in GAC, execute the following commands from the cmd prompt, run as Administrator:
中文意思是: 从Oracle 12.2开始,oracle 客户端安装不自动注册 ODP.NET 了. 您可以以管理员身份在 cmd 提示符下执行以下命令:
比如:
set ORACLE_HOME=C:\apps\oracle\product\19.3.0\dbhome
%ORACLE_HOME%\ODP.NET\bin\4\OraProvCfg.exe /action:gac /providerpath:%ORACLE_HOME%\ODP.NET\bin\4\Oracle.DataAccess.dll
%ORACLE_HOME%\ODP.NET\bin\4\OraProvCfg.exe /action:gac /providerpath:%ORACLE_HOME%\ODP.NET\PublisherPolicy\4\Policy.4.121.Oracle.DataAccess.dll
%ORACLE_HOME%\ODP.NET\bin\4\OraProvCfg.exe /action:gac /providerpath:%ORACLE_HOME%\ODP.NET\PublisherPolicy\4\Policy.4.112.Oracle.DataAccess.dll%
ORACLE_HOME%\ODP.NET\bin\4\OraProvCfg.exe /action:gac /providerpath:%ORACLE_HOME%\ODP.NET\PublisherPolicy\4\Policy.4.122.Oracle.DataAccess.dll
执行完成后, 上述 admin console 的错误就可解决.