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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Has anyone successfully upgraded 4.9.5 to 5.2?Has anyone successfully upgraded 4.9.5 to 5.2?
Previous
 
Next
New Post
1/5/2010 11:09 AM
 

Tried a 5.2.1 upgrade... hit some errors...


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
1/5/2010 7:00 PM
 

HI....I tried to do the upgrade but it had so many errors it was overwhelming.   Many of my modules have 5.x versions so I didn't know whether to upgrade after upgrading the whole environment or what.  I decided to start with a fresh 5.x, install the module, copy the data tables (carefully checking to see which ones are module id sensitive etc) and hope for the best.   This way, I can install the modules and verify that everything is ok, one module at a time.

 
New Post
1/5/2010 10:27 PM
 

  I fixed the issues I had post upgrade simply by running this SQL statement:

 

DECLARE @portalId INT

DECLARE mycursor CURSOR FOR

SELECT DISTINCT portalId FROM {databaseOwner}{objectQualifier}Portals

 

OPEN mycursor

 

FETCH mycursor INTO @portalId

WHILE (@@fetch_status<>-1)

BEGIN

INSERT INTO {databaseOwner}{objectQualifier}PortalLanguages (

PortalID,

LanguageID,

CreatedByUserID,

CreatedOnDate,

LastModifiedByUserID,

LastModifiedOnDate

) VALUES ( 

/* PortalID - int */ @portalId,

/* LanguageID - int */ 1,

/* CreatedByUserID - int */ -1,

/* CreatedOnDate - datetime */ GETDATE(),

/* LastModifiedByUserID - int */ -1,

/* LastModifiedOnDate - datetime */ GETDATE()) 

FETCH mycursor INTO @portalId

END

 

CLOSE mycursor

DEALLOCATE mycursor

Then restart the DotNetNuke application and all is well.
 

 

 


Sr. Software Engineer
 
New Post
1/6/2010 12:47 AM
 

Jsheely, thank you for posting your solution, but unfortunately it doesn't fix all issues reported.

I strongly suggest for anyone upgrading from DNN 4 to 5, to perform an experimental upgrade of a copy first, due to a number of possible caveats.

Please report your findings ( I might need it myself, when I'll start upgrading my sites to DNN 5 in the future ;) ).


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Has anyone successfully upgraded 4.9.5 to 5.2?Has anyone successfully upgraded 4.9.5 to 5.2?


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