Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2855
  • Last Modified:

Regsvr32 Failure

Hi,

Regsvr32 failed with following message:
RegSvr32: DllRegisterServer in \....\..MyFile.dll failed.
Return code was: 0x8007007e

It fails to all com dll projects I'm creating.
It doesn't failed for MyProjectps.dll (Proxy \ Stub) creating from com server project.

Doe's someone know what is the problem and how to fix it?

Thank you very much,
Michael.
0
bachar
Asked:
bachar
1 Solution
 
jimwassonCommented:
The error code means: "The specified module could not be found."  In other words, RegSvr32 couldn't find the file MyFile.dll.  Are you sure the path is correct?
0
 
schwertnerCommented:
I encountered that in some cases changing the place of the paths in PATH environment variable improves the things.

1. Find where your .dll is
2. check PATH environment variable and place the description to the path on the first place.
0
 
CJ_SCommented:
Which language do you use? When you use Win32 and IDL you will need to create the DllRegisterServer function yourself. "Languages" like ATL will add that code by itself. What I am saying is that you might've missed something.

Languages like Visual Basic add the necessary code by itself, and when compiled it will also register itself on your machine. Tried that yet?

regards,
CJ
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
caretaCommented:
Are your dlls calling other dlls? in this case, even if the dll you try to register is found, it will fail because it tries to solve all dependencies. Try to use depends.exe to check this.
0
 
chadukajohnCommented:
May you copy the regsvr32.exe to %system% dir: c:\windows\system or c:\winnt\system32 for winnt. Go to the path where your Dll is and type : regsvr32 <filename.dll>
0
 
NetminderCommented:
bachar,

These questions are still open and our records show you logged in recently. Please resolve them appropriately as soon as possible. Continued disregard of your open questions will result in the force/acceptance of a comment as an answer; other actions affecting your account may also be taken. I will revisit these questions in approximately seven (7) days. Please note that the recommended minimum for an "Easy" question is 50 points.
http://experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=20186509
http://experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=20100277
http://experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=20005648
http://experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=11452298
http://experts-exchange.com/jsp/qShow.jsp?ta=progsoftgen&qid=11404058
http://experts-exchange.com/jsp/qShow.jsp?ta=cplusprog&qid=20141685
http://experts-exchange.com/jsp/qShow.jsp?ta=mfc&qid=20145151
http://experts-exchange.com/jsp/qShow.jsp?ta=mfc&qid=20116236
http://experts-exchange.com/jsp/qShow.jsp?ta=mfc&qid=20094685
http://experts-exchange.com/jsp/qShow.jsp?ta=networkgen&qid=20032846

EXPERTS: Please leave your thoughts on this question here.

Thanks,

Netminder
Community Support Moderator
Experts Exchange
0
 
NetminderCommented:
Admin notified of user neglect. Force/accepted by

Netminder
Community Support Moderator
Experts Exchange
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now