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...Upgrading DNN P...Upgrading DNN P...multiple issues after 6.0 upgrade FIXEDmultiple issues after 6.0 upgrade FIXED
New Post
8/3/2011 12:53 PM
I have had some odd issues that took me the better part of the last two days to fix, so I wanted to post the info here in case it helped anyone else.  Before I get into it, I must say thank you to the team for this great upgrade to DNN!  I have a test deployment and it upgraded fine, and now that my production instance is working properly I'm quite thrilled with the new features.

The first issue I was having was with the login box.  When I would log in, the box would not go away, and only once I closed it did the page refresh and show me as logged in.  OK, a skin issue right?  Nope!  I switched the portal over to not use pop-ups and then the same thing would happen, except I no longer had a pop-up to close, the login page simply re-freshed.  Navigating to any other page then showed that I was logged in.  The culprit:  compression.  We have been using gZip compression for a while in conjunction with the whitespace filter.  Shutting that off took care of the problem (it also helped so I could start seeing error messages relating to the problem below).  I was pretty sure gZip compression was included in some best-practices/tuning recommendation I read at some point, but this is not the first time I've seen it cause problems so I'll leave it off until I forget about these problems and turn it back on again.

The second issue relates to adding modules to a page.  Immediately after upgrading I was not able to add modules to pages using the new admin bar.  When I dropped-down the Category list to switch to "All Categories", the Add Module pop-up form would go away and an error message would appear in the content pane with the following text:
A critical error has occurred.Sequence contains no elements
A look in the error log gave me this:
DotNetNuke.Services.Exceptions.PageLoadException: Sequence contains no elements ---> System.InvalidOperationException: Sequence contains no elementsat System.Linq.Enumerable.First[TSource](IEnumerable`1 source)at DotNetNuke.Web.UI.WebControls.DnnModuleComboBox.BindPortalDesktopModuleImages()at DotNetNuke.Web.UI.WebControls.DnnModuleComboBox.BindAllPortalDesktopModules()at DotNetNuke.UI.ControlPanel.AddModule.LoadModuleList()at DotNetNuke.UI.ControlPanel.AddModule.CategoryListSelectedIndexChanged(Object sender, EventArgs e)at System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e)at System.Web.UI.WebControls.DropDownList.RaisePostDataChangedEvent()at System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent()at System.Web.UI.Page.RaiseChangedEvents()at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---

After looking at the code for BindPortalDesktopModuleImages I was able to find the two stored procedures that are invoked to get the data, GetDesktopModules and GetPackages.  I ran them manually and received no errors, so I figured they were returning some sort of data the combo box code did not care for.  Since I'm a DB guy, I started playing with the data.  At one point I cleared out the DesktopModules table and started re-adding records one at a time to find the culprit.  And, I did:  Google AdSense had a PackageID=-1 which caused a FK problem: there is no package with PackageID=-1.  Somehow this constraint had not been enforced in the past by some update or delete, or DNN upgrade.  By this time I had pretty well screwed up DNN (it really did not like me clearing out of DesktopModules) so I restored from my backup, deleted the Google AdSense record from DesktopModules and everything was well in the world again.  It should be noted, I did not have any instances where I was actually using Google AdSense so this action was without harm to my production installation.

Thanks again team, I'm looking forward to attending DNN World for the first time this year.
New Post
8/3/2011 1:18 PM
I also had some issues with Compression.

Or-Rouge Team Or-Rouge
Personally recommend Hostgator for hosting single or multiple DotNetNuke Websites.
DotNetNuke Tips and Tutorials
Install DotNetNuke to Godaddy root
DotNetNuke Türkçe Hakkinda Hersey
New Post
8/3/2011 7:16 PM
I logged the issue with the module dropdown in the issue tracker gemini , but the issue is now closed with the resolution can not reproduce.
I asume this is an other word for...we have no time to solve the issue and you can always manualy remove the module if you have acsess to the database.

I have had two sites with the issue and tryed to find the cause of it but no luck. But I have acsess and knoledge to change the database so its not a big problem for me. But I think hundreds of sites will have this error when rel 6 upgrades will be common.
New Post
8/3/2011 11:41 PM
you can always reopen the issue and provide additional information- cannot reproduce means exactly that, we cant fix what we cant reproduce. In some cases the only way to reproduce is to get a copy of the users site/database as some errors are related to "impossible" data (i fixed one recently where a 3rd party module had made incorrect direct database updates) and some turn out to be the users environment (i fixed one a while back where the user was still runnin .net 2.0 beta2)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
New Post
8/4/2011 9:07 PM

I do have file & DB backups of before the upgrade to 6 and also immediately after if you want them.  Our system will retain them until 8/12 and then they will be gone.

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...multiple issues after 6.0 upgrade FIXEDmultiple issues after 6.0 upgrade FIXED

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