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 from 4.9.5 to 5.6.1Error from 4.9.5 to 5.6.1
Previous
 
Next
New Post
2/14/2011 6:01 PM
 
Hi there,

I am attempting a 4.9.5 to 5.6.1 upgrade. I have a dedicated server and use the PowerDNN Control Suite for upgrades. So far several sites have upgraded with no (or minor) hitches. I can't get this site to work and have rolled back to the backup and tried several times and keep getting this. The site upgrade scripts seem to roll out fine but when I try to call up the site this is what I get. I am not seeing much in the forums on this one.

Any help would be appreciated.

thanks,

Will Sugg, Planet Maine

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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Common.Utilities.DataCache.GetCache(String CacheKey) +31 DotNetNuke.HttpModules.RequestFilter.RequestFilterSettings.GetSettings() +38 DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +1024 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 


Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618

 
New Post
2/15/2011 10:34 AM
 
OK - I have rolled this back to 4.9.5 a few more times and tried again going to 5.6.1. I have also tried going to 5.3. I am consistently getting this error now. Please disregard previous error above.

thanks for your help!

Server Error in '/' Application.
--------------------------------------------------------------------------------

Could not load provider DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider, DotNetNuke.Caching.FileBasedCachingProvider
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.Configuration.Configurati sException: Could not load provider DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider, DotNetNuke.Caching.FileBasedCachingProvider

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.  

Stack Trace:


[Configurati sException: Could not load provider DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider, DotNetNuke.Caching.FileBasedCachingProvider]
   DotNetNuke.ComponentModel.ProviderInstaller.InstallProvider(IContainer container, Provider provider) +391
   DotNetNuke.ComponentModel.ProviderInstaller.InstallComponents(IContainer container) +106
   DotNetNuke.ComponentModel.ComponentFactory.InstallComponents(IComponentInstaller[] installers) +44
   DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) +271
 
New Post
2/15/2011 4:28 PM
 
Update - I tried the upgrade using the app_offline.htm method here:

http://www.dotnetnuke.com/Community/Wiki/tabid/1409/Page/Upgrading-DotNetNuke/Default.aspx

with the exact same result and DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider error as above.

Also when the upgrade scripts were rolling out these 2 were errors:

Upgrading DotNetNuke
Current Assembly Version: 05.06.01 Current Database Version: 04.09.05 Upgrade Status Report

00:00:22.609 - Updating Config Files: 05.02.01 Error!

00:00:23.718 - Installing Package File Telerik_05.06.00_Install: Error!

Upgrade Complete

Click Here To Access Your Portal

thanks, Will
 
New Post
2/15/2011 7:09 PM
 
While the dnn installer can theoretically make the jump from 4.9.5 to 5.6.1 in a single leap - there are a huge number of possible scenarios where different modules and settings can possibly conflict with things is such a complex ecosystem. I would suggest you walk this upgrade up in smaller steps. DNN 5.2 introduced a lot of changes including the move to minimum base requirements of asp.net 3.5 sp1 and ms sql 2005 So maybe try doing 4.9.5 to 5.2.0 as your first jump. And also make sure you update ALL your modules at this jump as well - the updater DOES NOT automatically upgrade modules. Then 5.4.4 as the next watershed mark - more major changes here. Again make sure you update ALL your modules at this jump as well - the updater DOES NOT automatically upgrade modules. Then 5.5.1 -- and update modules Then 5.6.0 -- and update modules Then 5.6.1 -- and update modules If at the end of all this you still get the telerik error - there are ways to manually patch this one - it has to do with the system not being able to update to the latest telerik dll because of a lock. Westa
 
New Post
2/16/2011 7:34 AM
 
Hi Wes,

Thanks for your reply! I did try stepping to 5.3 first with exact same result. Since I manage several DNN sites on my server I am aware of which modules do not update and do necessary updates before upgrades. Plus I have had several upgrades from 4.9.5->5.6.1 run smoothly. I have also found you can upgrade broken modules after an upgrade and that will fix things. So I am not thinking it is a legacy module issue.

I am interested in the 'manual fix' you discuss and am willing to try anything at this point.

As an aside, why did this page go so dang wide? And when you hit quick reply it gets rid of hard returns so you have to go back in to edit and add them or everything is all smooshed together. Those 2 issues need to be addressed with this forum module.

 thanks,

Will
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Error from 4.9.5 to 5.6.1Error from 4.9.5 to 5.6.1


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