B
B
batalish2020-12-25 12:51:31
Windows Server
batalish, 2020-12-25 12:51:31

How to register dll in regsvr32.exe?

Good afternoon everyone! I want to run the vbs script, but I get an error

---------------------------
Windows Script Host
---------------------------
Script:	C:\batch\check_day.vbs
Line:	0
Char:	1
Error:	ActiveX component can't create object: 'OracleInProcServer.XOraSession'
Code:	800A01AD
Source: 	Microsoft VBScript runtime error


Googled and found that you need to install 11 oracle client with oo4o support, downloaded it, installed it, but the error also came out. Reinstalled in oracle client oracle objects for ole, the error repeated. Then I found that I need to register 4 oracle libraries

- regsvr32.exe oo4ocodewiz.dll
- regsvr32.exe odbtreeview.ocx
- regsvr32.exe oo4oaddin.dll
- regsvr32.exe

oip9.dll

---------------------------
RegSvr32
---------------------------
The module "C:\oracle\product\11.2.0\client_1\BIN\OO4OADDIN.DLL" was loaded but the call to DllRegisterServer failed with error code 0x80004005.

For more information about this problem, search online using the error code as a search term.


smdshku launched through the admin panel.

Please tell me how to solve this problem or can I register it somehow manually:?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-12-25
@StupidQuestion

Perhaps off topic. Somehow I was fiddling with one program and these dlls. I wrote a mini instruction for the future, maybe it will help:

1. Copy the callsdb folder to drive C:
2. Copy the Calls folder to C:\Program Files (x86)
3. Copy all files (*.dll, *.ocx) to C:\Windows\SysWOW64 If it asks to copy with replacement , then it is better not to copy the file, skip it (if something in the program does not work in the future, then try to copy with a replacement, those files that were missed)
4. Run the cmd command line under Administrator, write "cd c: / windows / syswow64" , get into the SysWOW64 folder
5. do not close cmd
6. write regsvr32 "file name with extension"
Example: regsvr32 comdlg32.ocx
7. Register all files (*.dll, *.ocx), except for those that were asked to be copied with replacement.
Everything should work! Good luck!

Pay attention to 4 points.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question