DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Site Inaccessible - Sequence contains more than one matching element

Sort:
You are not authorized to post a reply.
Page 2 of 2 << < 12





Veteran Member





    Posted By hbilbrey on 13 Apr 2021 10:28 AM
    This particular issue began immediately after installing a module on a page that was supposed to already have it (and did on an alias) and then refreshing the page when it didn't display.

    To me what you wrote is confusing. Did you install a module (upload an install package) or place an alread installed module on a page?
    Also; what module was this?
     






    Growing Member





      Posted By Timo Breumelhof on 15 Apr 2021 08:11 AM
      Do you mean you have 2 DNN installations using the same database (might lead to a lot of issues)? Or 2 DNN portals within the same DNN installation (normal user case)?

       

      One production database, two DNN installations both using it. The second installation was a copy of the first, so they look nearly identical - which is why we didn't catch it for a while until cracks started to show.

      As for your module question: 

      On one of these installs, the module appeared on a page (we'll call this Site 1). On another, it did not (Site 2). I installed the module to Site 2, then placed it, hoping to have it appear on the page. It didn't; so I tried to place it again. I checked the page in the admin toolbar and it showed three instances of the module, so I removed two.

      Still nothing. I cleared my browser cache thinking on an off chance it could be related, and that's when I was treated to the site going down to the internal server error. Stranger still is the copy, Site 1, continues to run just fine on the DB and now displays an extra copy of the above module on its page.

      The module is a custom one used to display some data in a chart. It's one of many we've used over the past four years.

      Posted By Sebastian Leupold on 13 Apr 2021 08:03 PM
      there are a number of tables being written upon module install (ModuleDefinitions, DesktopModules, PortalDesktopmodules and others) and other tables, when a module is placed on a page (Modules, TabModules, ModuleSettings, TabModuleSettings, ModulePermissions and module specific tables as well).
      System.InvalidOperationException: Sequence contains more than one matching element indicates, the error is happening in advanced URL rewriter, which tries to resolve page to load for an URL. this uses TabURLs, tabs and PortalAlias table.

      Appreciated - I will check those tables to see if I can find duplicate rows. There have been some admin log errors for a while about the system selecting one resolution over another for some pages, but nothing as much of a hard stop as this error.

       






      New Around Here





        Check your WebServers table in dnn db for extra rows seems to cause resources confusion

        You are not authorized to post a reply.
        Page 2 of 2 << < 12

        These Forums are dedicated to the 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. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
        2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
        3. 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.
        4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
        5. No Flaming or Trolling.
        6. No Profanity, Racism, or Prejudice.
        7. Site Moderators have the final word on approving / removing a thread or post or comment.
        8. 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