HomeHomeUsing DotNetNuk...Using DotNetNuk...Upgrading DotNe...Upgrading DotNe...multiple issues after 6.0 upgrade FIXEDmultiple issues after 6.0 upgrade FIXED
Previous
 
Next
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.
http://www.onlydnn.com/blog/tabid/55/dnn/912/Gzip-Compression-Breaks-AJAX-on-DotNetNuke-56-with-Medium-Trust.aspx

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)
 
New Post
8/4/2011 9:07 PM
 
Cathal-

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.

Thanks,
Mark
 
Previous
 
Next
HomeHomeUsing DotNetNuk...Using DotNetNuk...Upgrading DotNe...Upgrading DotNe...multiple issues after 6.0 upgrade FIXEDmultiple issues after 6.0 upgrade FIXED


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.