Solved

How to Troubleshoot DLL that will not Register on VM Server

Posted on 2015-02-09
6
131 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
  • 4
6 Comments
 
LVL 118
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
Hyper-convergence systems have taken the IT world by storm and have quickly started to change our point of view of how the data center should and could be architected. In this article, I’ll explain the benefits of employing a hyper-converged system …
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.

762 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now