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 3.1.0 to 4.3Upgrading from 3.1.0 to 4.3
Previous
 
Next
New Post
8/4/2006 3:44 AM
 
hi

I have tryed to upgrade from DNN 3.1.0 to the new 4.3 version.

Basically by creating a copy of my database, and copying the 3.x dnn folder into the website folder for the new 4.3 site. Then copyed the source version of 4.3 over the copy of the old install (I know this isnt officially endorsed as a technique, but I believe adefwebserver dude recommended it. I have also used this technique before in a trial update from 3.1.0 to 4.0.3 successfully)

anyway, when I enter my localhost dnn site for the first time it seems to upgrade without problems, but when I "click here to access my newly created portal" I get the following error.

Server Error in '/xxxxxx' 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.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +125
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +83
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +5771
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42


I have investigated the problem extensively, and cannot find a solution. the server is running on windows 2000, with sql server 2000. My theories were it could be something to do with folder permissions, although I have given ASP and Network services full access. Another hint I found was that a stored procedure somewhere is returning more than 1 row where there should only be one.

Thanks for helping

Ian

PK
 
New Post
8/4/2006 5:01 AM
 
well i also did the same technique and it worked perfectly for all my old websites...however just to make sure when you copy the newer version to old version you have to replace asp.net account with full permisson again for main and subfolders...and obviously dontforget to copy machine keys from web.config file
 
New Post
8/4/2006 6:25 AM
 
Did you find a solution to this problem? Have found the same problem upgrading from 3.3.2 to 3.3.4.
 
New Post
8/4/2006 6:54 AM
 
Thanks for the suggestions, I think I tried all of those ones, and have given up on the upgrade. We have decided a fresh install would suit our needs better (theres not too much content to input again)

PK
 
New Post
8/4/2006 7:53 AM
 
Way too late one evening I recently trashed a live production site in an upgrade from 4.0.x to 4.3.3 when I forgot to copy the ObjectQualifier string from the old to new Web.Config. With the exception of keeping the same aspnet_ tables in the database, DNN created an entirely new set of tables and stored proceedures (without an ObjectQualifier) and when I clicked on the link to access the site received the same null reference exception in the GetPortalSettings method.  This exception is a very non-specific one that can stem from many causes.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrading from 3.1.0 to 4.3Upgrading from 3.1.0 to 4.3


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