Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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...6.2 Upgrade Error6.2 Upgrade Error
Previous
 
Next
New Post
6/2/2012 6:38 PM
 

I received this error in the  06.02.00_Application.log.resources after trying to upgrade a site from 6.1.5 to 6.2.  Everything else went successfully, however, the Application update for 6.2 gave me the red Error!  Below is all the detail I have.  Is there a way to get more detail into what didn't work?

Error: Object reference not set to an instance of an object.   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion620()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String providerPath, Version version, Boolean writeFeedback)




 
New Post
6/5/2012 6:58 PM
 
Is there a place where I can see what the actual scripts are that it's trying to run in the DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion620() function?
 
New Post
6/6/2012 6:43 AM
 

No, at present there is no additional data logged (we're looking to fix this, along with other poor logging in the next major release). You can see what happens in upgrade.cs in the upgradeto620 function i.e.

          //add host (system) profanityfilter list
            const string listName = "ProfanityFilter";
            var listController = new ListController();
   var entry = new ListEntryInfo();
   {
    entry.DefinitionID = Null.NullInteger;
                entry.PortalID = Null.NullInteger;
       entry.ListName = listName;
    entry.Value = "ReplaceWithNothing";
    entry.Text = "FindThisText";
                entry.SystemList = true;
   }
            listController.AddListEntry(entry);

            //add same list to each portal
            var portalController = new PortalController();
            foreach (PortalInfo portal in portalController.GetPortals())
            {
                entry.PortalID = portal.PortalID;
                entry.SystemList = false;
                entry.ListName = listName + "-" + portal.PortalID;
                listController.AddListEntry(entry);

                //also create default social relationship entries for the portal
                RelationshipController.Instance.CreateDefaultRelationshipsForPortal(portal.PortalID);
            }

            //Convert old Messages to new schema
            ConvertOldMessages();

            //Replace old Messaging module on User Profile with new
            ReplaceMessagingModule();

            //Move Photo Property to the end of the propert list.
            MovePhotoProperty();

            //Update Child Portal's Default Page
            UpdateChildPortalsDefaultPage();

            //Add core notification types
            AddCoreNotificationTypesFor620();

            //Console module should not be IPortable
            var consoleModule = DesktopModuleController.GetDesktopModuleByModuleName("Console", Null.NullInteger);
            consoleModule.SupportedFeatures = 0;
            consoleModule.BusinessControllerClass = "";
            DesktopModuleController.SaveDesktopModule(consoleModule, false, false);

 

You can verify if the first 2 worked by checking the lists table to see if at least 2 list that start with ProfanityFilter exist - and you can check the last by checking the DesktopModules table -this will allow you to see if it started and ended. If it didnt make it to the end work backwards

  • the AddCoreNotificationTypesFor620 function adds FriendRequest/FollowerRequest etc to the CoreMessaging_NotificationTypes table
  •  UpodateChildPortalsDefaultPage appears to rename any default.aspx redirect page in the child portal to subhost.aspx (and create an old_default.aspx)
  • MoveProfileProperty reorders the Photo property in ProfilePropertyDefinition to be 0
  • ReplaceMessagingModule adds the new message centre module to the profile tab and removes any exising messges modules
  • ConvertOldMessages converts messages from the origjnal messaging format to the new messaging format (you'll have seen a "Converting old Messages to new format..." message if there were any to be found)

 

 

 


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...6.2 Upgrade Error6.2 Upgrade Error


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