Thursday, March 22, 2012

DTS distribution - LoadLibrary failed - the specified module could not be found

Hi,

i have a VB.net (2005) application that just runs a DTS package. I tried to install my application in a CLEAN XP computer (it means without any SQL2000 tools or DLLs, ONLY the .net framework 2.0).

When i try to register the dtpkg.dll and all the other dlls using regsvr32.exe i receive the error

"LoadLibrary("C:\program files\myapp\dtspkg.dll) failed - the specified module could not be found".

in C:\Windows\system there is the sqlunirl.dll

In C:\program files\myapp folder i have all the following DLLs:

sqlresld.dll

dtsffile.dll
dtspkg.dll
dtspump.dll
axscphst.dll
dtsrun.exe
sqlunirl.dll
custtask.dll

and in C:\program files\myapp\resources\1033 folder the RLLs

dtsffile.rll
dtspkg.rll
dtspump.rll

custtask.rll

axscphst.rll

dtsrun.rll

I followed step by step all the dts redistribution instructions as explained in this article

http://www.sqldts.com/225.aspx

and in the redist.txt contained in the SQL2000 CD.....

Anybody has ideas?

Thx

mcrisf

I am having the same issue. I followed the steps on the site exactly but I still get the "LoadLibrary("C:\program files\myapp\dtspkg.dll) failed - the specified module could not be found". error. Anyone?|||

Copy required .rll files in the binn\resources\1033 folder.

Make sure sqlresld.dll is present in the binn folder.

No comments:

Post a Comment