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