Posteado por: edeortuzar | 28/04/2017

DllRegisterServer – Error code: 0x80004005


If you have this error with Vista or 7, the solution is “Run as administrator” the following shortcut:

Home – Accessories – Command Prompt

To do this you have to go to Command Prompt and right-click and select the Run as admin option that has a shield.

That way, we can run regsvr32 without problems.

On a Windows 64bit, 32-bit modules must reside and register from c:\windows\syswow64

So you have to open a command console as an administrator, go to c:\windows\syswow64, copy the module there, and from that path run regsv32.

To clarify a bit the regsvr32 of \windows\system32 is the 64-bit, and the regsvr32 of \windows\syswow64 which is the 32-bit, confuse the directories but it is.

NOTE: On 64-bit systems, each time a 32-bit job is launched, the \windows\syswow64 folder is remapped internally as \windows\system32 and the actual system32 is not accessible.

They have more information about this mechanism, called “File System Redirector” at http://msdn2.microsoft.com/en-us/library/aa384187.aspx

If you have a DLL made from .NET to register it, as indicated in a comment Daniel Donoso , you should, for example for Framework 4.0 do:

C:\Windows\Microsoft.NET\Framework64\v4.0\regAsm.exe\my.dll

Regards

Anuncios

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

Categorías

A %d blogueros les gusta esto: