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 ExtensionsModulesModulesSome Modules Fail in 7.4.2 But Work in 7.3Some Modules Fail in 7.4.2 But Work in 7.3
Previous
 
Next
New Post
3/2/2016 9:44 AM
 

I have half a dozen proprietary modules written using the Christoc 7 templates.  They were originally developed agains DNN v 7.2, were tested and working with 7.3, but now SOME don't work on 7.4.  The reason I highlight "some" is that they are all pretty similar and I can't work out what would be significantly different between them.

The error I get in the event log is:

AbsoluteURL:

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:6e592a3e-4762-4ce9-99a6-52e62072a606

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:JbVZuBy2esGpC30ok955UA==

Message:Error Creating BusinessControllerClass 'Modules.EGBGroups.Components.FeatureController' of module(EGBGroups) id=(449) in tab(101) and portal(0)

StackTrace: 

   at DotNetNuke.Services.Search.ModuleIndexer.ThrowLogError(ModuleInfo module, Exception ex)

InnerMessage:Value cannot be null. Parameter name: type

InnerStackTrace: 

   at System.Activator.CreateInstance(Type type, Boolean nonPublic)

   at System.Activator.CreateInstance(Type type)

   at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey, Boolean UseCache)

   at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey)

   at DotNetNuke.Services.Search.ModuleIndexer.GetModuleList(Int32 portalId)

Source:DotNetNuke

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: HARPERVM2

I have tried uninstall, clean build etc and nothing worked until I started a module from scratch (using the same  Christoc templates) and simply copied the source from view.aspx and view.apsx.cs from the old version to the new,  recompiled and reinstalled and it all worked fine.  I have compared the two versions of the code and just cannot see any significant difference between the two, other than one works and the other doesn't! 

I am stumped and just don't even know where to look and really don't want to have to rebuild the other modules from scratch.  Can anyone give me a clue as to where to start looking for the difference that makes the difference?

Thanks

Nick

  

 

 
New Post
3/2/2016 12:33 PM
 
ok - I have A difference which may be it - but I don't have clue why!

In the file EGBGroups.dnn is a line:

 <businessControllerClass>Modules.EGBGroups.Components.FeatureController

</businessControllerClass>


This doesn't work in 7.4.2 (just to note seems fine in 7.3). In the working version built from scratch tis is:

 <businessControllerClass>Christoc.Modules.EGBGroups.Components.FeatureController

</businessControllerClass>


So the simply adds "christoc."

And also the name changes in EGBGroupsModuleBase.cs and EGBGroupsModuleSettingsBase.cs to match. e.g:

namespace Christoc.Modules.EGBGroups

That seems to be the difference. In the modules that worked the name stared "christoc" and those that didn't "christoc" wasn't there, although the references to the namespace appeared correct. Adding "christoc" to the non-working code (and matching changes) made them work too. Anyone know why?

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesSome Modules Fail in 7.4.2 But Work in 7.3Some Modules Fail in 7.4.2 But Work in 7.3


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out