PDA

View Full Version : Loading Custom DLL


mwtsoftware
10-23-2004, 01:52 AM
I am moving an ASP.NET application from another ISP. It uses a special DLL to produce reports. I have loaded the DLL into the application "bin" folder but when the application tries to access it I get an server error which tells me the required DLL cannot be found. Can someone tell me what additional steps are needed so the application can find the DLL. It runs fine on my localhost machine.

bruce
10-23-2004, 07:00 AM
Is this a .NET dll? or is it a COM?

Also make sure you put the dll into the bin directory of the application root.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

diltonm
10-24-2004, 04:36 AM
It's possible that the DLL itself has other dependencies. If it's a manged assembly use Lutz Roeder's www.aisto.com/roeder/dotnet/ to see what assemblies it depends on and if it's a native DLL then use depends from www.dependencywalker.com and if you have VS.NEt installed then it's already on your system. Just start a .NET command prompt from the VS.NET menu and run depends <your.dll>.

Dilton

mwtsoftware
10-24-2004, 11:29 AM
Thanks for the advice. I got the proper DLL's into the application bin folder and all is well.

--- Mike