[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

How to Troubleshoot DLL that will not Register on VM Server

Posted on 2015-02-09
6
Medium Priority
?
160 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 123
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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

656 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