regsvr32 Error Code 80070005

The error code 80070005 usually means that you do not have enough permission to write to the registry. See this Chilkat blog post ( How to Register an ActiveX DLL using regsvr32 ) for help in running regsvr with administrative privileges.

How to Register an ActiveX DLL using regsvr32

(Also see the ActiveX DLL Registration Tutorial) The first step is to determine if you need to register the ActiveX DLL compiled for 32-bit or 64-bit.  If your computer is 32-bit, the choice is obviously 32-bit.  Let’s start with it: How to Register a 32-bit DLL on a 32-bit Windows operating system Using a text editor, create a .bat file […]

Using regsvr32 to Register a 32-bit ActiveX or 64-bit ActiveX on Windows 64-bit System

A 64-bit Windows system has two separate registries — one for 32-bit processes, and one for 64-bit processes. The reason for this is simple: Let’s say your application instantiates an instance of an ActiveX component by calling CreateObject(“Chilkat.Ssh”). If your application is running in a 32-bit address space, the registry entries for “Chilkat.Ssh” should point to a 32-bit DLL in […]

Error 0x8002801D when Instantiating Chilkat HTTP ActiveX

This error indicates that there is a problem with the registry information for the ActiveX DLL. The registry entry may be missing or contain incorrect information, or the user may not have permission to read the registry entry. In ASP, the error message may look like this:  Server object error ‘ASP 0177 : 8002801d’ In applications, you may see an […]

A .NET Assembly is *not* an ActiveX. It is not registered via regsvr32.

Question: I have now tried to register the component manually, but then I get his message: “The module c:\…\ChilkatDotNet2.dll was loaded but the entry-point DllRegisterServer was not found. Make sure that c:\…\ChilkatDotNet2.dll is a valid DLL or OCX file and try again.” Answer: A .NET assembly is not an ActiveX component. It is not registered with regsvr32. If your application […]

Incorrect Format Error when trying to load .NET Assembly

This Chilkat blog post explains the following error: “Could not load file or assembly ‘ChilkatDotNet2, Version=9.0.8.0, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd’ or one of its dependencies. An attempt was made to load a program with an incorrect format.” When a DLL is loaded, it is mapped into the process’s address space. If the process is running in a 32-bit address space, the DLL […]

REGSVR32 0x80070005 Error on x64 Windows 7

The download for the Chilkat x64 ActiveX components includes a register.bat batch file for registering each of the Chilkat ActiveX DLLs.  If some or all of these fail with an error code of 0x80070005, it is because of a permissions problem.  Do the following to successfully register the ActiveX DLL’s on the system: Copy the DLL’s to c:\Windows\System32 Right-click on […]

regsvr32 0x80020009 error and solution

Question: I am having a problem registering the ChilkatCrypt2.dll and ChilkatMail_v7_9.dll files using regsvr32. I get the following error message: 0x80020009 I am using Windows Server 2008 R1 and will also need to register on 2008 R2 (have not tried yet). Solution: Regsvr32 needed to be run in a command window that was run as an administrator. Also: Regarding regsvr32 […]

regsvr32 Problems

ActiveX components and controls have been around for many years.  Unfortunately, when regsvr32 fails to register a DLL, the only information provided is an error code.  Usually in the format of a 32-bit hex number, such as 0x80004005 (although not necessarily that particular error code, I simply picked one at random for this blog post). If you search the Internet, […]