sqlldr.exe not working for Windows 10

℡╲_俬逩灬. 提交于 2019-12-24 00:53:26

问题


I have recently installed Oracle Database Client (12.1.0.2.0)(winx64) with Custom installation and by selecting only database utilities which will include SQL*Loader among with the other things. But when I am trying to execute sqlldr.exe then I am getting below error :

After searching on net I got common solution from all the sites i.e in bin folder, copying oraodm12.dll and renaming it to oranfsodm12.dll could be a fix. see the below site references:

https://community.oracle.com/thread/3652577?start=0&tstart=0%20

http://wiki.ispirer.com/sqlways/troubleshooting-guide/oracle/import/data-not-loaded

As like others it works for me as well but after that I am getting same new error for oraclsce.dll

It seems other people didn't get this error after applying solution mentioned above. I tried to search how to fix this error but I didn't get proper solution.

Any help for this will be appreciated.


回答1:


That is a known bug (Bug 17548895) in Oracle Universal Installer.

Oracle provides a workaround for it:

WORKAROUND INFORMATION
======================
Workarounds include:
To avoid the issue in the first place, explicitely select "Oracle NET"
component during install

After the fact, you can 
a) do another custom install into the same home, and select "Oracle NET"
or
b) copying ORACLSCE12.DLL from an existing install into OH\bin also resolves
the issue.

However, ORACLSCE12.DLL is not the only file which is missing (that is the issue you are facing) so the workaround b) is not suitable. Additionally to your desired components you have to select "Oracle Net" in the Oracle Universal Installer, then it should work.




回答2:


I tried selecting different options and copying oraclsce12.dll around and found the following solution which is a combination of Wernfrieds answer and this thread: sqlldr cannot start because oranfsodm12.dll is missing:

  • Step 1: Renaming oraodm12.dll to oranfsodm12.dll
  • Step 2: Copy ORACLSCE12.DLL into your OH-folder from the installation process

Im using oracle client version 12.1.



来源:https://stackoverflow.com/questions/52071702/sqlldr-exe-not-working-for-windows-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!