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...Upgrade ErrorUpgrade Error
Previous
 
Next
New Post
8/17/2011 5:16 PM
 
I get the following error when upgrading to V6.0... Does anyone know how to correct this problem?

Server Error in '/' Application.

Object reference not set to an instance of an object.

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 64: if (fileInfo != null) Line 65: { Line 66: string imageUrl = FileManager.Instance.GetUrl(fileInfo)
; Line 67: if (!String.IsNullOrEmpty(imageUrl)) Line 68: {

Source File: d:\hosting\4399910\html\admin\Skins\Logo.ascx.cs    Line: 66

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Services.F
ileSystem.FolderProvider.Instance(String friendlyName) +18 DotNetNuke.Services.FileSystem.FileMana
ger.GetUrl(IFileInfo file) +94 [FolderProviderException: The underlying system threw an exception.] DotNet
Nuke.Services.FileSystem.FileManager.GetUrl(IFileInfo file) +195 DotNetNuke.UI.Skins.Controls.Logo.OnL
oad(EventArgs e) in d:\hosting\4399910\html\admin\Skins\Logo.ascx.cs:66 [ModuleLoadException: An error h
as occurred.] DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMes
sage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) +403 [PageLoadException: An error has occu
rred.] DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +32
3 DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc) +89 DotNetNuke.Ser
ices.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, B
oolean DisplayErrorMessage) +529 DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(
Control ctrl, Exception exc, Boolean DisplayErrorMessage) +189 DotNetNuke.Services.Exceptions.Exceptions.Pr
ocessModuleLoadException(Control ctrl, Exception exc) +40 DotNetNuke.UI.Skins.Controls.Logo.OnLoad(EventAr
gs e) in d:\hosting\4399910\html\admin\Skins\Logo.ascx.cs:95 System.Web.UI.Control.LoadRecursive() +50 Syste
m.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Control.Lo
adRecursive() +141 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Control.LoadRecursive() +141 
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfter
AsyncPoint) +627 [PageLoadException: An error has occurred.] DotNetNuke.Services.Exceptions.Exceptions.Process
PageLoadException(Exception exc, String URL) +323 DotNetNuke.Framework.PageBase. (EventArgs e) +450 Syste
m.Web.UI.Page.HandleError(Exception e) +84 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBef
oreAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6776 System.Web.UI.Page.ProcessRequest(Boolean includ
eStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242 System.Web.UI.Page.ProcessRequest() +80 
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21 System.Web.UI.Page.ProcessRequest(
HttpContext context) +49 ASP.default_aspx.ProcessRequest(HttpContext context) in App_Web_m2jmpuzs.0.cs:0 Syst
em.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181 System.Web.HttpApp
ication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 
 
New Post
8/18/2011 4:30 PM
 
please make sure the following node is in your web.config after the outputCaching node

<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>



Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
11/2/2011 1:59 AM
 
This is missing from my web.config file but when I add it in after outputCaching, my site fails to load.

Phil
 
New Post
11/2/2011 2:01 AM
 
I am missing this from my web.config file but when I add it I get :

The configuration section 'folder' cannot be read because it is missing a section declaration

Thanks
Phil
 
New Post
11/2/2011 12:33 PM
 
you need to add
into the sectiongroup at the top of your web.config

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...Upgrade ErrorUpgrade 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