Solved

How to Troubleshoot DLL that will not Register on VM Server

Posted on 2015-02-09
6
151 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 121
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
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.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

707 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