Fix: dllregisterserver failed on windows 10

     
I have sầu a DLL which cause to lớn an error when I run the application.The error says that the service is not registered. So I run commvà regsvr32 with the name of the DLL.But it gives me an error, now the error is:

The module "mydll.dll" was loaded but the entry-point "DllRegisterServer" was not found.

Bạn đang xem: Fix: dllregisterserver failed on windows 10

Make sure that "mydll.dll" is a valid DLL or OCX file and then try again

I worked on Windows 7 64-bit. On Windows XP it works fine!.Does someone know what it can be?Thanks!


*

*

I had this problem and

dumpbin /exports mydll.dllvà

depends mydll.dllshowed "DllRegisterServer".

The problem was that there was another DLL in the system that had the same name.After renaming mydll the registration succeeded.


*

The error indicates that the DLL is either not a COM DLL or it"s corrupt. If it"s not a COM DLL and not being used as a COM DLL by an application then there is no need lớn register it.From what you say in your question (the service is not registered) it seems that we are talking about a service not correctly installed. I will try khổng lồ reinstall the application.

Xem thêm: Cách Cài Hình Nền Máy Tính Win 7 Đơn Giản Nhất, Cách Đổi Hình Nền Máy Tính Win 7, Win 10 Đơn Giản


*

What solved it for me was using :

regasm.exe "xx.dll" /tlb /codebase /register

It is however, important to understvà the difference between regasm.exe and regsvr.exe:

What is difference between RegAsm.exe pháo và regsvr32? How to lớn generate a tlb file using regsvr32?


Make sure the comm& prompt window has admin permissions. I am using Windows Server 2012 và was getting the error when using regsvr32 in the command prompt. I opened the commvà prompt by right clicking on it from All Programs/Windows System/Comm& Prompt & selecting "run as administrator" Running regsvr32 in this window successfully loaded the dll file.


*

I found the answer:I need khổng lồ add a new application khổng lồ the service components in my computer and then add the right DLL"s.

Thanks!If anyone has the same problem, I"ll be happy to lớn help.


Highly active question. Earn 10 reputation (not counting the association bonus) in order lớn answer this question. The reputation requirement helps protect this question from spam và non-answer activity.

Not the answer you're looking for? Browse other questions tagged asp.net dll windows-7 regsvr32 component-services or ask your own question.


Unable lớn register DLL using Regsv32 - error "Dll was loaded but the entry-point DllRegisterServer was not found"
site thiết kế / logo © 2021 Staông xã Exchange Inc; user contributions licensed under cc by-sa. rev2021.12.15.41014


Your privacy

By clicking “Accept all cookies”, you agree Staông xã Exchange can store cookies on your device & discthảm bại information in accordance with our Cookie Policy.