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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN error on module settings (7.4.1)DNN error on module settings (7.4.1)
Previous
 
Next
New Post
12/3/2015 1:05 PM
 

I've seen several threads on this same problem. When I try to go to any module settings as superuser I get a NullReferenceException at DotNetNuke.Security.PermissionsGrid.<>c__DisplayClass1<EnsureRole>b__0(RoleInfo r).

Yes, I have a Portal 0. Yes, I have modify permissions on the web.config.

 This became a problem after upgrading from 5.6.3.

 
New Post
12/5/2015 1:51 PM
 
I suggest upgrading to 7.4.2, there are a number of issues fixes.
if this doesn't fix it, run https://dnnscript.codeplex.com/releas... and https://dnnscript.codeplex.com/releas... from Host > SQL.
Restart DNN afterwards.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/22/2015 10:34 AM
 

Sebastian, your suggestion just sent me down the wrong path. TurboDNN is not the answer to every problem. I figured it out though. The nullreferenceexception was being thrown in some module settings classes, but the stack trace was extremely misleading. Someone who doesn't understand for loops copypasted the same method into these classes which led me to believe it was something that was being inherited. This is related to a platform bug in that if one settings class is broken, it breaks all the other module settings. Recycling the application pool in IIS will fix this. According to a closed bug report I found, this has been fixed in an unstable 8.(something) release. I think it may have to do with returning a new ModuleInstanceContext() if something is null, but I haven't tested it. Please share this information with the many others who are having the same issue.

 Best Regards,

 Derek

 
New Post
12/22/2015 1:43 PM
 
I am glad, you were able to solve it.
Sorry that I have no other chance then doing a best guess based on the stack trace.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN error on module settings (7.4.1)DNN error on module settings (7.4.1)


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