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...Error at 05.03.00  while upgradingError at 05.03.00 while upgrading
Previous
 
Next
New Post
1/14/2015 6:38 PM
 

Hello everyone,

 Im only getting this error while upgrading to the latest version (7.3.4) originally Im at version 4.9:

[ERROR] DotNetNuke.Services.Upgrade.Upgrade - System.NullReferenceException: Object reference not set to an instance of an object.

   at DotNetNuke.Services.FileSystem.FolderProvider.Instance(String friendlyName) 
   at DotNetNuke.Services.FileSystem.FolderManager.ClearFolderProviderCachedLists(Int32 portalId)
   at DotNetNuke.Services.FileSystem.FolderManager.GetMergedTree(Int32 portalId, String relativePath, Boolean isRecursive)
   at DotNetNuke.Services.FileSystem.FolderManager.Synchronize(Int32 portalId, String relativePath, Boolean isRecursive, Boolean syncFiles)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion530() 
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String providerPath, Version version, Boolean writeFeedback)

 

tracing in the source code (lines of code where error happens called from  first to last):

FolderManager.Instance.Synchronize(portal.PortalID, "Templates/", false, true);
-> var mergedTree = GetMergedTree(portalId, relativePath, isRecursive); //this is inside method synchronize
-> ClearFolderProviderCachedLists(portalId);//this is inside method GetMergedTree
-> var folderProvider = FolderProvider.Instance(folderMapping.FolderProviderType);//this is inside method ClearFolderProviderCachedLists

My problem is that the FolderProvider.Instance(folderMapping.FolderProviderType) is null for all my portals. (all my portals throw the same error)

everything before, and after this error in the installation is successful.

Any pointers/hint/things to try are welcome.

 

thanks in advance.

 

 
New Post
1/15/2015 12:20 PM
 
update1: my SecureFolderProvider is not getting instantiated, is null. how/where can I fix this?, the StandardFolderProvider works. for all portals.
 
New Post
1/23/2015 12:04 PM
 
ok, so apparently during the upgrade the web config is modified and the folder providers are added, but they are added after the data dictionary is made.
so adding this to the web.config before the upgrade solved the issue:
<section name="folder" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />

<folder defaultProvider="StandardFolderProvider">
      <providers>
        <clear />
        <add name="StandardFolderProvider" type="DotNetNuke.Services.FileSystem.StandardFolderProvider, DotNetNuke" />
        <add name="SecureFolderProvider" type="DotNetNuke.Services.FileSystem.SecureFolderProvider, DotNetNuke" />
        <add name="DatabaseFolderProvider" type="DotNetNuke.Services.FileSystem.DatabaseFolderProvider, DotNetNuke" />
      </providers>
    </folder>




 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Error at 05.03.00  while upgradingError at 05.03.00 while upgrading


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