Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to remove dlls from BinHow to remove dlls from Bin
Previous
 
Next
New Post
3/3/2013 4:07 PM
 

Hi All,

I am trying to remove 2 old .dlls that I do not believe are needed from the Bin folder. However it brings down the whole site with the message below:

What tells DNN which dlls to load? Is there a list of the .dlls somewhere that instructs it to load in to memory when the .asp.net process recycles? (I upgraded from ActiveForums to DotNetNuke and these 2 ActiveForum .dlls are not needed any more I believe.

 

Could not load file or assembly 'Active.Modules.Forums.40' or one of its dependencies. The system cannot find the file specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Active.Modules.Forums.40' or one of its dependencies. The system cannot find the file specified.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Active.Modules.Forums.40' could not be loaded.

 

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Stack Trace: 

 

[FileNotFoundException: Could not load file or assembly 'Active.Modules.Forums.40' or one of its dependencies. The system cannot find the file specified.]

   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throw , Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) +0

   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throw , Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) +70

   System.RuntimeType.GetType(String typeName, Boolean throw , Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +39

   System.Type.GetType(String typeName, Boolean throw , Boolean ignoreCase) +62

   System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throw , Boolean ignoreCase) +65

   System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +38

 

[Configurati sException: Could not load file or assembly 'Active.Modules.Forums.40' or one of its dependencies. The system cannot find the file specified.]

   System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +359

   System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, Boolean checkAptcaBit) +19

   System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement) +39

   System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +42

   System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +160

   System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +950

   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +82

   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172

   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336

   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296

 

[HttpException (0x80004005): Could not load file or assembly 'Active.Modules.Forums.40' or one of its dependencies. The system cannot find the file specified.]

   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9873912

   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101

   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254

 


 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929

 


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
3/3/2013 5:38 PM
 
generally speaking the fusion loader tells the .net framework to load - and it is only triggered when code is requested i.e. a dll is only loaded when an instruction within it is parsed, compiled and executed. Whilst typically this happens when the code is run (e.g. a 3rd party module's dll may only ever be loaded into memory and executed if a page with that module on is reached), this can happen during startup for a number of reasons e.g. it exists as a htppmodule/httphandler (as they process each request) - i would guess this is the likely case for you i.e. there is a refence in web.config that triggers code within 1 or both of your dlls

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/3/2013 9:09 PM
 
Thanks Cathal, spot on - the ActiveForums 4 URL Rewriter was specified in the web.config.

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to remove dlls from BinHow to remove dlls from Bin


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out