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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Could not load file or assembly Could not load file or assembly 'Comsite.Modules.Classifieds'
Previous
 
Next
New Post
1/19/2009 4:31 PM
 

  Okay, I guess I need some help here.  I have created several modules, and most of them implement the iSearchable interface.  I am now working on a new module and the iSearchable is not working.  So, in the process of trying to figure out why it was not working, I came across this error message in the admin events log:

Could not load file or assembly 'Comsite.Modules.Classifieds' or one of its dependencies. The system cannot find the file specified.

Every time I "restart Application" from the Host Settings screen it adds another of these errors to the log.  So, I assume it has to do with the iSearchable beginning to process all the modules that are searchable.

Okay, here is the odd thing... When I noticed Comsite.Modules instead of ComSite.Modules (notice the S is capital) I realized that I may have not always typed it the same in the namespace declarations.  So, I performed a global search and replace on Comsite. with ComSite.

Okay, so in code I now know that the casing is correct.  So I went into the DesktopModules table and updated all the references to the lowercase version to match the correct case version.  The odd part is that now when I "restart Application", the error that results is still using the lowercase version!!!

so it's trying to find Comsite.Modules.Classifieds instead of ComSite.Modules.Classifieds.  Does anyone have any idea what I may be missing?

Thanks in advance!

 
New Post
1/19/2009 4:44 PM
Accepted Answer 

When you install a module, it adds a row to the EventQueue table, with its information in the Attributes column, to have it process changes to the BusinessControllerClass upon restart.  I'd bet there's still a row in there with the lowercase version of the namespace.

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
1/19/2009 4:49 PM
 

I'm not sure about the case sensitivity, but would also check the Attributes column of the EventQue table particularly if you also implemented IUpgradable in this module? Look for a row in which IsCompleted is false (0).

ON EDIT: Brian, you beat me to that one as I was writing the post!!


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
1/20/2009 12:13 PM
 

Thank you both, you were absolutley correct.  I found the offending row in the EventQueue table and marked it as complete and my error went away.  Thanks a bunch!

 
New Post
1/20/2009 2:18 PM
 

Have you double checked that your module definition has the right features marked?  If you marked the row as completed, it may have never evaluated the correct business controller class to verify which features your module implements.  I believe that hitting the Update button on the module definition page should cause it to re-evaluate that class.

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Could not load file or assembly Could not load file or assembly 'Comsite.Modules.Classifieds'


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