Solved

How to Troubleshoot DLL that will not Register on VM Server

Posted on 2015-02-09
6
145 Views
Last Modified: 2015-02-16
Hello all,

We are trying to move our In-Proc COM Server DLL written in TD 5.2 from our old server to a new VM server and I cannot get the dll to register.

I have tried using regsvr32 in the SysWow directory, even tried moving the dll to the Syswow directory and had no luck.

I have tried installing older versions of the C++ redistributables, and it was still a no go.

I have tried converting it to TD 6.2.  It registers ok on my Windows 8 VM just fine but it will still not register on my VM server.

Does anyone have some good troubleshooting tips they can give me on how to troubleshoot when a dll  will not register?

Next I'm going to try registering a dll with a minimum amount of code in it, just to see if I can get anything to register.

Thanks in advance for any helpful advice you may have to offer,
~AJ
0
Comment
Question by:ajthomas12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 120
ID: 40599000
Is the OS of the Server, 2012 ?
0
 

Author Comment

by:ajthomas12
ID: 40599228
Yes Andrew,

It's a VM with Server 2012 on it.

I just finished trying to register a stub of a DLL.

It registered on the development VM Windows 8 machine.

The server returned:

"The module failed to load.

Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent.dll files.

The specified module could not be found."

I know my test dll is there.  

How do I check for problems with dependent.dll files?

Thanks,
~AJ
0
 

Author Comment

by:ajthomas12
ID: 40601704
Ok, thanks Andrew.

~AJ
0
 

Accepted Solution

by:
ajthomas12 earned 0 total points
ID: 40604109
Hello All,

I was able to fix my problem with registering my dll by using Dependency Walker, http://www.dependencywalker.com/ , to help me identity the modules or other dlls my dll was dependent upon but could not find.

Good luck,
~AJ
0
 

Author Closing Comment

by:ajthomas12
ID: 40611862
Because I was creating the dll on one system and then moving it to another, I needed a way to determine definitively what was needed for my dll to register and work properly.  It was eye opening to me to see the number of dlls my simple dll was dependent upon and looking for.  Dependency Walker was exactly what I needed.  I found a link to it in a comment on a message board for someone who was having a similar problem.
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question