Hi, I'm trying to install the DNN 7.4.2 and then add a few template files, data providers from an old dnn version. I got this error during the install process. Any information regarding this will be helpful. Can provide additional information if needed. Thanks.
DotNetNuke <!--StartFragment-->
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error:
Line 154: FolderMappingsConfigController.Instance.SaveConfig(installConfig.FolderMappingsSettings); Line 155: } Line 156: Upgrade.Upgrade.InstallDNN(strProviderPath); Line 157: //remove en-US from portal if installing in a different language Line 158: if (!installConfig.InstallCulture.Equals("en-us", StringComparison.InvariantCultureIgnoreCase))
DotNetNuke <!--StartFragment-->Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Services.FileSystem.FolderManager.ClearFolderProviderCachedLists(Int32 portalId) +138 DotNetNuke.Services.FileSystem.FolderManager.GetMergedTree(Int32 portalId, String relativePath, Boolean isRecursive) +135 DotNetNuke.Services.FileSystem.FolderManager.Synchronize(Int32 portalId, String relativePath, Boolean isRecursive, Boolean syncFiles) +189 DotNetNuke.Services.Upgrade.Upgrade.InstallFiles(XmlDocument xmlDoc, Boolean writeFeedback) +265 DotNetNuke.Services.Upgrade.Upgrade.InstallDNN(String strProviderPath) +282 DotNetNuke.Services.Install.Install.InstallApplication() in c:\xx\WebSite\Install\Install.aspx.cs:156 DotNetNuke.Services.Install.Install.OnLoad(EventArgs e) in c:\xx\WebSite\Install\Install.aspx.cs:498 System.Web.UI.Control.LoadRecursive() +61 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4075.0
<!--EndFragment-->
No, I did not do a upgrade, I just grabbed install.zip from dnn website unpacked it and then installed with some other custom templates and data providers. This error looks like the upgrade.upgrade(strproviderpath) in the dnn install.cs component, either did not get a value or did not get required params. Do you know what might cause these issues when installing dnn? I tried to clear cache and do a fresh install but this seems to be coming again.
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:
Awesome! Simply post in the forums using the link below and we'll get you started.