cancel
Showing results for 
Search instead for 
Did you mean: 
sachinc
Pilgrim

.dll failed to register

hi all
i have created the installer using installsheild 2009.
while running the setup
first the .net framework is installed.
while installing the application. it gives
"Error:1904. Module C:\WINDOWS\system32\AdessoODBC.dll failed to register.
HRESULT -2147024769. contact your support personnel".

i have attached the image.

plz help.
urgent!!

Thanks in advance!!
Labels (1)
0 Kudos
3 Replies
Flexera MichaelU
Flexera

Re: .dll failed to register

That error code maps to "The specified procedure could not be found." I'd suggest looking at your .dll in a tool like Dependency Walker to see if the DllSelfRegister function is exported. If not, this file is not self-registering.
0 Kudos
sachinc
Pilgrim

Re: .dll failed to register

MichaelU wrote:
That error code maps to "The specified procedure could not be found." I'd suggest looking at your .dll in a tool like Dependency Walker to see if the DllSelfRegister function is exported. If not, this file is not self-registering.



hi
I m not getting ??
can you tell me in brief.
i have cheked the file as self register.

i am creating the installer using installsheild 2009
0 Kudos
Flexera MichaelU
Flexera

Re: .dll failed to register

Self-registration works by calling into a function which the .dll file (or .ocx, etc. file) exports. If the .dll file you are trying to register does not export this function, then self-registration is impossible and will fail. Search for Dependency Walker for a tool you can download to examine the functions the .dll exports (or if you have dumpbin, in a command prompt try dumpbin /exports AdessoODBC.dll), and look for DllRegisterServer in the list.
0 Kudos