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 ...Upgrade dnn from 4.8 to 5.6.1Upgrade dnn from 4.8 to 5.6.1
Previous
 
Next
New Post
3/29/2011 12:36 AM
 
Hello,
I am using DNN 04.08 version from last two years.Now i want to upgrade 04.08.0 to the latest version o f DNN 5.6.1
I took Dnn DB backup and the DNN website folder.

1.How can i upgrade from DNN 4.8 to 5.6.1
2.Whether the existing module also will upgrade or not?

please help me
 
New Post
3/29/2011 9:27 AM
 
There is some information on upgrading available in the DotNetNuke Wiki:
http://www.dotnetnuke.com/Resources/W...

You should upgrade from 4.08.00 to 4.09.05 then to 5.04.04 then to 5.06.02 making filesystem and database backups before each upgrade step and testing for and if necessary correcting any issues before proceeding to the next version step. Note the following tips (not a complete list):

1. DotNetNuke v 5.02.00 and later require ASP.Net 3.5 SP 1 and MS SQL Server 2005 or 2008 (standard or express editions) to be installed. DotNetNuke v 5.04.04 and later can also run under ASP.Net 4.0.
2. Upgrade to latest version (4.03.05) or uninstall Xml module before upgrading to DNN 5.04.04.
3. Uninstall chat module before upgrading to any DotNetNuke 5.x versions.
4. Upgrade Events module to latest version (5.01.05) after upgrade to DotNetNuke 5.04.04.
5. Upgrade Gallery module to latest version (4.03.03) after upgrade to DNN 4.09.05.
6. Check with vendors/developers of any third-party modules for upgrade compatibility information.

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
 
New Post
4/26/2011 2:58 AM
 
So if upgrading from DNN 4.9.5 to the current version, i.e. 5.6.2, part of the process is to upgrade ASP.Net 2.0 to 3.5sp1.

a.  If there are multiple DNN websites in multiple SQL-2005 databases, will upgrading ASP.Net cause the older DNN 4.9.5 websites to stop working?  In IIS, Website > Properties > ASP.Net tab... I intend to let the older DNN 4.9.5 websites running in ASP.Net 2.0 ... to only use ASP.net 3.5 on a new fresh DNN install. (new folder, new sql database).
b.  The .35 download page is at http://www.microsoft.com/downloads/de...
 and it says that 4.0 is available.  Should I just go ahead and get asp.net 4.0?
Are there things in DNN 5.6.2 that would break if asp.net 4.0 would be installed?

c.  The DNN 4.9.5 installations have lots of custom & 3rd party modules.  If asp.net 3.5 or 4.0 can be installed alongside asp.net 2.0, (question above), then what are the chances of some things in the DNN 4.9.5 websites not working?

BarryZ
 
New Post
4/26/2011 3:28 AM
 
I have spent the best part of today upgrading 7 of our sites.  A couple were DNN 5+ but the others were DNN 4.8.4.
I found the easiest way to upgrade was to do as you stated - backup database and webfiles first.  I had a few issues with the application pool after upgrading but I do not know why.

I used the DNN 5.6.2 install, rather than the upgrade file because I have found there may be changes within the .config file between 4 & 5 that make the whole procedure rather messy to figure out should things go wrong.

I am not sure if you have rdp access to your server, but if you do not, I suggest creating an app_offline.htm file and uploading to the root directory to take the site offline while the files upload, or you can use your control panel software to unzip files however, I have found that it's better to have the config file ready and completed and putting in the url path /install/install.aspx to run the upgrade script.

The issue I had with the application pool was some duplication which required deletion of duplicate files in the GAC folder which I do not like to touch, so I ended up creating a new application pool and assigning a 4.0 application pool after the upgrde.

You are correct to install the necessary frameworks first, but you will also need to mind that you don't accidently use too many of the default settings that convert all the sites on that server to be using 4.0 or 3.5 framework. 

I am not sure but you might have to do a server restart after installing the framework - and even if it says it's not required, when changing frameworks and upgrading sites, I'd restart my server since there are plenty of things happening.  I could be wrong but I prefer to be on the safe side with us having hundreds of dnn sites - there's nothing more tragic that losing a nights sleep because of something that you weren't expecting to happen!

So, upgrade the framework, double check that a server restart is or is not required, create an application pool with the right frameworks before upgrading, use the install, not upgrade file, and you might get two errors on upgrade but I have not seen a problem with anything. 

On one build I had some issues with the dll files - dnn nav menu dll but then I saw the naming convention had changed - this was a 2008 install, so it might not affect you.  I removed the dll files from the folder and the upgrade went through seamlessly.

I have to admit the upgrades with DNN have been much smoother over the years and I feel that you should not have any issues.

For the record, I have not had any issues with the standard modules, except complex ones like catalook or any that specifically require a certain version of framework to be installed. Most developers have an upgrade path.  In fact, whether it's good to say this or not, I've got some DNN 3.1.3 sites which I've upgraded to dnn 5.6+ and all the modules have run. I'm not saying that it is like this in every case, but for most of them, not an issue.  I was pleasantly surprised and it further inspired me to upgrade more sites knowing that this was the case.

the .NET framework to my knowledge should not affect a website.   But we run sql on a separate machine with no IIS installed. 

I have not had a site break with DNN 5.6.2 and .NET 4.0 framework installed  but that is just my experience.

Good luck and I hope this gives you a couple of tips to help you through the process.

Nina Meiers

Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
5/14/2011 4:35 AM
 
Installing a fresh DNN 5.6.2 wasn't that complicated.
1.  map a domain to the IP address in your DNS.  Create a ww.yoursite.com and assign it to an IP address on your server with an A record.

2.  In SQL Server, create a new database and set the account as DBO.

3.  In Windows Explorer, create a new folder for the files, i.e. c:/dnn560/ and populate it with the Fresh Install Zip, then give permissions to Network Service or the account that will run the website.

4.  Edit the web.config file:
 -  Let the MachineKey alone.  After checking all the other DNNs on the server, I found that each of them has a different machine key and they are all working.  I read somewhere (http://www.eukhost.com/forums/f15/fix...) where there should be a Registry Key with the server's MachineKey, but apparently that does not apply to DNN.  Hrmf.

 - THE DEFAULT CONNECTION STRING provided in the example web.config has an error.  It says Database=DotNetNuke;uid=;pwd=;"   --- and I found that the 2nd semi-colon (after the pwd) needs to be removed - otherwise installation will fail.

5.  Since nobody knows about the URL of the website yet, there is no danger of anyone hitting it before you do.  So next goto ww.yoursite.com ... and the installation will start.  During the install, It will display your sql login & passwd that you entered in the Connection String (in the web.config file), and simply go through the installation.  Piece of cake.

If an installation fails at this point, it is likely that your connection string doesn't match with the account in the sql server management studio.
Here is what the connection string should look like.  Note where the   - - > 's are.
<connectionStrings>
    <!-- Connection String for SQL Server 2005/2008 Express -->
    <add name="SiteSqlServer" connectionString="Data Source=QUADG47z0;Initial Catalog=drs562;User ID=ralph1;Password=notready22" providerName="System.Data.SqlClient" />
    <!-- Connection String for SQL Server 2005/2008
    <add name="SiteSqlServer" connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;" providerName="System.Data.SqlClient" />
    -->
  </connectionStrings>
If you want to be safe, remove what's in the orange if it's not being used.

BarryZ
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade dnn from 4.8 to 5.6.1Upgrade dnn from 4.8 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