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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesCould not load typeCould not load type
Previous
 
Next
New Post
2/29/2012 10:31 AM
 

After the upgrade from v5.4.x to v6.1.3 on a production site, I've started seeing numerous "Could not load type" errors.  They're always one of two classes, and those classes are in house modules.

The confusion is, that the URL in question never has the module on it; there's never an error shown to the end user; and the modules listed as unable to load work fine on the pages they're in use on.

Any assistance tracking this down would be awesome!

AssemblyVersion: 6.1.3

PortalID: 0

PortalName: Contact Automation Portal

UserID: 243

UserName: mlibengood

ActiveTabID: 522

ActiveTabName: Lead Gen Transcriptions

RawURL: /Tools/LeadGenTranscriptions.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: https://portal.contactautomation.com/Tools/LeadGenTranscriptions.aspx

UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 4168d41f-4740-4a21-90af-a9b7a711ee97

InnerException: Could not load type 'ContactAutomation.Dnn.StandardOil'.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Web.Compilation.BuildManager.GetType

StackTrace:

Message: System.Web.HttpException: Could not load type 'ContactAutomation.Dnn.StandardOil'. at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throw , Boolean ignoreCase) at DotNetNuke.Framework.Reflection.CreateType(String TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors)

Source:

Server Name: w06


 
New Post
2/29/2012 10:53 AM
 

Hello,

This is a pretty wild guess, but I've seen something like this happen with non-loadable business controller classes.

In your module definition, if you've specified a business controller class, but that class can't be found, I think that sort of behavior occurs - everything seems fine, but you get these errors in your log.

To see if that's it, if you have host access, you might go to Host -> Extensions and click the edit button next to the problematic extension. See if "ContactAutomation.Dnn.StandardOil" is the business controller class for the extension. If so, you could try clearing that out from the definition, and saving it...

As I say, that's a pretty wild guess, but maybe it'll help.

Mike

 
New Post
2/29/2012 7:32 PM
 
That's exactly what it was, thank you so much!
 
New Post
12/15/2017 9:48 PM
 
My dnn website is redirecting to www.www.domain.com. we recycle the app pool and it load fine. Can you please suggest why its happening? any solution for that issue.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesCould not load typeCould not load type


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