• Login
  • Register

DNN Forums

A community discussion page. We're starting from scratch, so...let's get the party started!

Error - DNN 9.2.2 - Cannot Enter Edit Mode

You are not authorized to post a reply.
Sort:


New Member


Posts:15
New Member

    I had this  problem come up in an Evoq DNN 9.2.2 instance and found the same symptoms of issues previously reported by others:
    - clicking on the edit mode button would not enter edit mode
    - JS Console displayed error message of 
    /API/internalservices/controlBar/ToggleUserMode 500 (Internal Server Error)
    - Logs showed 
    "The type initializer for 'DotNetNuke.ExtensionPoints.ExtensionPointManager' threw an exception.The type initializer for 'DotNetNuke.ExtensionPoints.ExtensionPointManager' threw an exception." "System.IO.FileNotFoundException: Could not load file or assembly 'nunit.framework, Version=2.6.2.12296"

    this was after installing and then uninstalling a 3rd party module. My thought is that the third party module, on uninstall either didn't remove a reference from the web.config, or it removed the nunit though another module needed it... still working through the details.

    as a temporary work around, entering edit mode from the Page Admin persona bar screen allowed us to enter edit mode.

    I'm also tying together issues here from the old forum
    https://www.dnnsoftware.com/forums/...readpage/2

    This also cooincided with errors seen adding a new module to a page when in edit mode. On screen a friendly looking popup (not .net error or js/console error) displayed the error message "Error occurred when request service 'GetPortalDesktopModules'."
    and the console along with that is
    Failed to load resource: the server responded with a status of 500 (Internal Server Error)
    /API/internalservices/controlbar/GetPortalDesktopModules?category=All&loadingStartIndex=0&loadingPageSize=10&searchTerm=&excludeCategories=&sortBookmarks=true&topModule=HTML%20Pro

    anyone run into this and have an explination? Meanwhile, I'm looking for nunit to put to the bin...



    New Member


    Posts:15
    New Member

      In this case, once I placed the nunit dll into the bin (https://launchpad.net/nunitv2/trunk/2.6.2) then the issue went away and the DNN instance behaved properly going in/out of edit mode. The errors stopped showing in the log files.

      THOUGH, that said, I looked at a backup of the module before the 3rd party module was installed, and there was no nunit dll in the site's bin folder. After the uninstall, there also was not one. However, after the uninstall, this error was present.


      Basic Member


      Posts:66
      Basic Member

        is this specific to Evoq and DNN 9.2.x?
        Please be aware that PersonaBar has been rewritten for DNN Platform 9.3.x.


        Advanced Member


        Posts:233
        Advanced Member

          Posted By Moore Creative on 28 Jul 2019 02:54 PM
          In this case, once I placed the nunit dll into the bin (https://launchpad.net/nunitv2/trunk/2.6.2) then the issue went away and the DNN instance behaved properly going in/out of edit mode. The errors stopped showing in the log files.

          THOUGH, that said, I looked at a backup of the module before the 3rd party module was installed, and there was no nunit dll in the site's bin folder. After the uninstall, there also was not one. However, after the uninstall, this error was present.

          I run into a very similar issue with EntityFramework on some websites - and they don't even have any extensions using it.  So weird.

          Will Strohl

          Upendo Ventures Upendo Ventures
          DNN experts since 2003
          Official provider of the Hotcakes Commerce Cloud and SLA support
          You are not authorized to post a reply.

          These Forums are dedicated to discussion of DNN Platform.

          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.

          Would you like to help us?

          Awesome! Simply post in the forums using the link below and we'll get you started.

          Get Involved