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 type - Error on Deleted ModuleCould not load type - Error on Deleted Module
Previous
 
Next
New Post
9/4/2007 3:22 PM
 

 

I am new to DNN and new to module development (but have over 15 years of database and application development experience).  I have created a module from the "DotNetNuke Dynamic Module" template (in VS 2005).  The problem is when I try to delete it.  First, I removed the module from all pages in the site and then deleted it from "Module Definitions".  After I did this I noticed the error listed below in the logs.

I then got a little more serious about removing the module and  removed the source files, database tables, database stored procedures and searched and removed all database references to this module.  I even searched the hard drive for any reference to JAT_TestModuleController and removed those as well. 

However, I still get these errors related to this module which no longer exists!

Any suggestions?

Sorry in advance if this is a stupid question.  I have noticed that the PortalId, UserId and ActiveTabId are all -1 if this helps.

Keith

AssemblyVersion: 04.05.03
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /DotNetNuke/Default.aspx
AbsoluteURL: /DotNetNuke/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 9c0ec47f-7c0a-41b8-9812-96cc813cd379
InnerException: Could not load type 'YourCompany.Modules.JAT_TestModule.JAT_TestModuleController'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.Compilation.BuildManager.GetType
StackTrace:
Message: System.Web.HttpException: Could not load type 'YourCompany.Modules.JAT_TestModule.JAT_TestModuleController'. at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at DotNetNuke.Framework.Reflection.CreateType(String TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors)
Source:
Server Name: JAT-xxx

EventQueue.ProcessMessage: Message Processing Failed
ProcessorType: DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke
Body:
Sender: host
BusinessControllerClass: YourCompany.Modules.JAT_TestModule.JAT_TestModuleController
DesktopModuleId: -1
ExceptionMessage: Value cannot be null. Parameter name: type
Server Name: JAT-xxx

 

 
New Post
9/5/2007 12:00 AM
 

Have a look in the APP_Code folder - if you started the dynamic module using the dnn templates there will be a folder in there named Module or the name of your module.

It will be where the controller classes are stored.

Westa

 
New Post
9/7/2007 5:42 PM
 

Appreciate the help.  Unfortunately I have already checked the App_Code folder and removed all references to my deleted module.  My log files are filled with these error messages.

 

Thanks,

Keith

 
New Post
9/8/2007 2:00 AM
 

hmm - just reread the error.

the problem looks like its related to the dbo.eventqueue table.

There will be a record in that table that has a reference to "YourCompany.Modules.JAT_TestModule.JAT_TestModuleController" .

Try running the following SQL query to find the problem records :

SELECT     *
FROM         dbo.EventQueue
WHERE     (Attributes LIKE '%JAT_TestModule%')

The delete the records that are not required.

Westa

or

 
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 type - Error on Deleted ModuleCould not load type - Error on Deleted Module


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