devxlogo

Cannot Register ActiveX DLL Remotely

Cannot Register ActiveX DLL Remotely

Question:

I have downloaded an ActiveX DLL (A third Party ActiveX component) for uploading files to my server. The problem is I can not register the DLL in my Web site, which is hosted in a NT server. I used the command regsvr32 followed by the complete URL of the DLL where I have uploaded it, but it is giving me “Load Library Fail” error. How can I register it so that I can use it with CreatObject method?

Answer:

You cannot register a component using regsvr32 followed by the complete URL of the DLL location. Regsvr32 requires a folder path name and needs to be executed locally.

You will need to run regsvr32 on the machine containing the DLL. If that happens to be your ISP’s Web server and you do not have local access to the machine (physical access or remote control access), then you are out of luck.

See also  Why ChatGPT Is So Important Today
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist