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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrading from DNN 3.0.13 to 3.3.7 ProblemsUpgrading from DNN 3.0.13 to 3.3.7 Problems
Previous
 
Next
New Post
1/8/2007 5:01 PM
 
I was wondering if anyone can shed some light on this error message I am getting when trying to update from version 3.0.13 to 3.3.7.   I backed up my database, backed up all my DNN files into a folder, and proceeded to unzip the DotNetNuke_3.3.7_Upgrade.zip into the folder where my current DNN site lives replacing the appropriate files.  When I see if the site is running, I get the following error:

 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.Framework.Reflection.CreateObjectNotCached(String ObjectProviderType) +28
   DotNetNuke.Services.Cache.CachingProvider.CreateProvider() +11
   DotNetNuke.Services.Cache.CachingProvider..cctor() +15

[TypeInitializationException: The type initializer for "DotNetNuke.Services.Cache.CachingProvider" threw an exception.]
   DotNetNuke.Services.Cache.CachingProvider.Instance() +0
   DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey) +46
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName) +441
   DotNetNuke.Services.Log.EventLog.LoggingProvider.CreateProvider() +18
   DotNetNuke.Services.Log.EventLog.LoggingProvider..cctor() +15

Am I installing this upgrade incorrectly?  Should I be running any scripts or upgrading the files thru the portal?  Any help would be appreciated.  Thanks!

Dave
 
New Post
1/10/2007 9:49 AM
 

I just completed an upgrade from 3.0.13 to 3.3.7 for my company. I had a lot of tweaking to do before the site would upgrade successfully. Basically, I followed the upgrade instructions provided to us by Shaun Walker (the sticky post at the top of this forum). Since my database didn't use the "dnn_" prefix, I had to remove that from the upgrade connection string's object qualifier parameter. I also made sure that the IIS_WPG had full control of the file system. Then I kept blasting the failed installs, and repeating the upgrade (making changes as the errors dictated) until I got all the errors out. It took me about a day to complete the upgrade process, but I am still working on the Authentication module stuff. We are using the pre-core version of the Authentication module in our application, so I need to figure out how to replace our aging module with the newer core version. Other than that, I have been very happy with the process.

It looks like your issue is related to the object qualifier parameter located in the upgrade connection string in your web.config. Reflection is probably throwing an exception because it can't find a database object that matches the name of the one it is trying to execute. For example: If reflection is looking for "dnn_Users" and your actual table name is "Users", it would throw an exception because it can't find the "dnn_Users" database object. So rather than rewrite all the stored procedures and update all the table names, I elected to simply remove the "dnn_" located in the upgrade connection string's object qualifier parameter.

Make sure you cover all your bases in the web.config. READ Shaun's upgrade instructions and FOLLOW them to the T. And don't forget to make backups of your database files and website files before you start! If you do these things, you should be fine. Happy Nuking!

Cheers!


Cheers!
John Valentine
http://www.webinnovationsystems.com
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrading from DNN 3.0.13 to 3.3.7 ProblemsUpgrading from DNN 3.0.13 to 3.3.7 Problems


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