DNN Forums

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

Upgrade to ver 10.00 error with html form in child portals

 6 Replies
 1 Subscribed to this topic
 28 Subscribed to this forum
Sort:
Author
Messages
New Around Here Send Private Message
Posts: 3
New Around Here

After updating DNN from version 9.13.08 to version 10.00 , the HTML forms of portal 0 work , while those of the child portals return a sql error “The sequence contains more than one element”

thanks for your help

New Around Here Send Private Message
Posts: 3
New Around Here

these are the errors

Errore: Home Banner non è attualmente disponibile. DotNetNuke.Services.Exceptions.ModuleLoadException: Sequence contains more than one matching element ---> System.InvalidOperationException: Sequence contains more than one matching element at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable1 source, Func2 predicate) at DotNetNuke.Entities.Tabs.TabWorkflowSettings.GetDefaultTabWorkflowId(Int32 portalId) at DotNetNuke.Modules.Html.HtmlTextController.GetWorkflow(Int32 moduleId, Int32 tabId, Int32 portalId) at DotNetNuke.Modules.Html.HtmlModule.OnInit(EventArgs e) --- End of inner exception stack trace ---


Errore: Home Banner non è attualmente disponibile. 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 DotNetNuke.Modules.Html.HtmlTextController.GetTopHtmlText(Int32 moduleId, Boolean isPublished, Int32 workflowId) at DotNetNuke.Modules.Html.HtmlModule.OnLoad(EventArgs e) --- End of inner exception stack trace ---

New Around Here Send Private Message
Posts: 3
New Around Here
these are the errors
Errore: Home Banner non è attualmente disponibile. DotNetNuke.Services.Exceptions.ModuleLoadException: Sequence contains more than one matching element ---> System.InvalidOperationException: Sequence contains more than one matching element at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable1 source, Func2 predicate) at DotNetNuke.Entities.Tabs.TabWorkflowSettings.GetDefaultTabWorkflowId(Int32 portalId) at DotNetNuke.Modules.Html.HtmlTextController.GetWorkflow(Int32 moduleId, Int32 tabId, Int32 portalId) at DotNetNuke.Modules.Html.HtmlModule.OnInit(EventArgs e) --- End of inner exception stack trace ---

Errore: Home Banner non è attualmente disponibile. 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 DotNetNuke.Modules.Html.HtmlTextController.GetTopHtmlText(Int32 moduleId, Boolean isPublished, Int32 workflowId) at DotNetNuke.Modules.Html.HtmlModule.OnLoad(EventArgs e) --- End of inner exception stack trace ---
Growing Member Send Private Message
Posts: 126
Growing Member
Does your installation have multiple languages? Or not en-US?

I have found some issues on an upgrade with the pages not displaying in the personabar menu and a an error on the Html/Text module. I decided to restore the DNN9 version. I tried to recreate the problem in a fresh DNN10 and I had no errors. I am wondering if the localization has an issue on upgrade.
Veteran Member Send Private Message
Posts: 267
Veteran Member

Guido, is your Home Banner a third partuy extension? If it is, make sure you follow up with the vendor in order to have a compatible version for your third party module with DNN 10 before upgrading to the latest version of DNN.

New Around Here Send Private Message
Posts: 3
New Around Here
Hi Marco , it is not a third party extension, after upgrading the main portal to version 10.00 I created an empty child portal with only the home page created by DNN .
From the error type we get that: since new tables were created in vers. 10, of new tables , the SQL call expects to find only one record with the set read key , but returns more than one and thus returns an unhandled error .
So I think it is a BUG in the new version that has already been reported and that the developers are already working on .

thanks again
Growing Member Send Private Message
Posts: 126
Growing Member
Yes, I have no proof and have not had time to look into it, but I think there is a bug when upgrading child portals.

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