Loading Custom DLL

Discussion in 'ASP.NET / ASP.NET Core' started by mwtsoftware, Oct 23, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. 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.
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    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
     
  3. 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
     
  4. Thanks for the advice. I got the proper DLL's into the application bin folder and all is well.

    --- Mike
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page