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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Server Roles Error after update to 7.3.2Server Roles Error after update to 7.3.2
Previous
 
Next
New Post
9/24/2014 3:35 PM
 
You know before I wrote that I thought that the nulls had something to do with it. Thank you Sebastian you put me in the right direction... The first part of the update query did not apply but the latter was.
 
New Post
10/10/2014 3:02 PM
 
After upgrading from 6.2.3 to 7.3.3 I received a similar error message when trying to view the Admin > Security Roles page. Sebastian's sql script fixed the problem. The Roles portion of the sql script applied specifically in my case.

Thanks Sebastian!! Keep up the great work!
 
New Post
10/10/2014 5:29 PM
 
I am glad, I was able to assist. Have fun using DNN :))

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/12/2014 4:17 AM
 
     I met exactly the same issue today. When I click the DNN built-in menu "Admin - Security Roles", it throws the below error
    "Security Roles is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DesktopModules.Admin.Security.Roles.FormatFrequency(String frequency) at ASP.desktopmodules_admin_security_roles_ascx.__DataBinding__control16"

    And I fixed this issue as follows:
    1. Open DesktopModules\Admin\Security\Roles.ascx.cs.
    2. Find
      protected string FormatFrequency(string frequency)
        {
            if (frequency == "N") return string.Empty;

            var ctlEntry = new ListController();
            ListEntryInfo entry = ctlEntry.GetListEntryInfo("Frequency", frequency);
            return entry.Text;
        }
    3. Change it as
       protected string FormatFrequency(string frequency)
        {
            if (frequency == "N") return string.Empty;

            var ctlEntry = new ListController();
            ListEntryInfo entry = ctlEntry.GetListEntryInfo("Frequency", frequency);
            return entry != null ? entry.Text : frequency;
        }

    4. As you can see, the error raise because entry is null in some cases.  So, we should check the null first,  then return related list entry.
        Wish above can help. If you don't know how to modify source code, mail me at xiaoqi98@msn.com, I will send my copy to you.
  
    

Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
New Post
11/12/2014 10:39 AM
 
not sure why the frequency would have a null value as all of them have values when I check (I guess a bug or perhaps 3rd party module is at fault) - nonetheless it's sensible defensive coding- please see http://www.dnnsoftware.com/wiki/page/... for details about submitting pull requests if you'd like to get it added to the platform (I've added a note to https://dnntracker.atlassian.net/brow... just in case you dont have the time to submit a pull request)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Server Roles Error after update to 7.3.2Server Roles Error after update to 7.3.2


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