Search code examples
sql-serversql-server-2008dts

Failed to register dll files needed for DTS - Error -The specified module could not be found


I am trying to register a DLL file needed for DTS using this command

Regsvr32.exe "C:\Program Files\Microsoft SQL Server\100\COM\axscphst.dll"

But I get the error

RegSvr32
---------------------------
LoadLibrary("C:\Program Files\Microsoft SQL Server\100\COM\axscphst.dll") failed - The specified module could not be found.

But Iam sure that the file axscphst.dll present in that location.

Can anyone tell me what I should do to find why its not getting registered only on this PC. If there is any workaround, kindly let me know that too. Thanks in Advance


Solution

  • Check the DLL with Dependency Walker (depends.exe, http://www.dependencywalker.com/) on the machine where registration fails. Most likely, your DLL depends on some libraries not present on the machine - Depends will tell you which.