PowerDNN

Recently Viewed...
SnowCovered Top Sellers

Live Content uses Web 2.0 approach to provide a Rich User Interface and streamlines content presentation by overlaying content on current page. Overlay images, videos, audio, text/html content, flash, dotnetnuke modules, and external content. Experience the demo...

DNN5 Ready ! - Minimalist includes skin packs in 12 great colors. Each color has Flat, Gradient and Glass versions. Feature rich XML Flash header, perfect for just about any purpose. 9 Different menu options in each skin pack; 3 horizontal menus, 3 vertical menus and 3 all-new Twin level menus . . .

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet and play them in our integrated flash video player.

One stop solution for events calendar and events registration! Demo site available for free trial.

Powerful, Ajax Enabled, Easy to Use. Document Management and Multimedia gallery functionality in one.Open-DocumentLibrary allows DotNetNuke users to organize share and manage documents, offering granular control over Folder and Document access.

Capture your users attention, enrich your site with multimedia flash, and create and opt in distribution list for your DNN site. These are just a few of the many features the Data Springs Module Collection can provide you.

In this day and age, knowing as much detailed information as possible about your customer, prospect or web site user is essential. Thankfully, the new 'Dynamics Forms' module from Data Springs, makes it easier than ever to segment your data collection efforts.

The amazing ANY COLOUR Flex2 skin + our unique EasyMod module allowing you to customise just about everything in this skin. DrNuke just re-wrote the rule book again.

Edit documents directly on your server. The premier document management solution for DotNetNuke (DNN). Index contents of documents. Share documents across your portal and avoid duplicates. Revised and flexible UI. Extensible architecture.

Ultra Media Gallery is the most popular photo gallery and media gallery solution for DotNetNuke, UMG offers 10 different flash player to browse your gallery with completely different user interface experience.

    |   Register   |   Saturday, July 04, 2009   
You are here:Resources  Articles & Information  Upgrade DotNetNuke 3.x to 4.x  


Upgrade DotNetNuke from DNN 3.x to 4.x

 

With the advancing technology and more and more developers switching to ASP.NET 2.0, the technology using ASP.NET 1.0 with DotNetNuke 3.1 is rapidly getting old. So upgrading is the right decision for today.

 

Moreover a lot of functionality is added to DotNetNuke 4 version. To take advantage of these features one must upgrade to 4x version.

 

The latest version 4 of DotNetNuke comes with the following functionality:

  • Provider Abstraction - create our own provider to abstract ourselves from the Microsoft provider
  • HttpContext - eliminate dependence on HttpContext
  • ApplicationName - manage our multi-portal capabilities within DNN rather than trying to hack the Microsoft provider
  • Question and Answer - the ability for a user to enter and store a private question and answer, which can be used for a password reminder.
  • Hashed Passwords - hashed passwords are supported through the Microsoft Membership Provider. We should provide a mechanism to support hashed password in DNN as they are much more secure then encrypted passwords and do not rely on Machine Keys. (It would be advantageous to make this the default but the side effect would be that we would no longer have a password retrieval mechanism)
  • CAPTCHA - add the ability to display a small image with embedded text, which bots cannot read. Prevents brute force dictionary login attacks.
  • Public Registration - the system should send an email to the user on public registration (to prevent cases where another user registers with their email address).
  • Profile Change Notification - when any profile attribute is changed, the owner of the account should be notified (using the original email address). This is to alert people in the event that an unauthorized user has gained access to their account and made changes to their profile (password, email).
  • Login Redirect - after login there should b a way to send a user to a specific page. This could be implemented at the portal or user level.
  • Password Generation - the ability for an admin to automatically generate a secure password for a user on account creation
  • User Account Creation Notification - when an admin creates a user account they should have an option to send the account details to the user
  • Force Profile Update - ability to force a user to update their user profile (implemented at a granular level based on required Profile fields)
  • Force Password Change - ability to force a user to change their password
  • Password Complexity - add the ability to define some password complexity requirements (i.e. mixed upper/lower case, numeric and alpha-numeric, etc.. )
  • Password Length - increase the default minimum password length from 4 characters (will require a more secure host password on initial install)
  • Password Expiry - a mechanism for expiring a password, which would force a user to enter a new password. This could be done through password aging parameters defined at the portal level (i.e. every 2 months).
  • Display Name Field - the membership schema should store the DisplayName of the user for demographic purposes - this item is critical for international users where their name is not represented as "FirstName LastName". Modules should link to the DisplayName for audit purposes rather than using FirstName and LastName.
  • Preserve Login Parameters - when a user is directed to the login screen, the system needs to retain the original url (with parameters) so that it can redirect back after successful login (especially useful in nested module UIs like Forum)
  • Logout Behavior - after logging out, the user should be able to remain on the same page rather than being redirected to the home page
  • Login Redirect - after login there should b a way to send a user to a specific page. This could be implemented at the portal or user level.
  • Password Generation - the ability for an admin to automatically generate a secure password for a user on account creation
  • User Account Creation Notification - when an admin creates a user account they should have an option to send the account details to the user
  • Force Profile Update - ability to force a user to update their user profile (implemented at a (the only reason they are being redirected now is because they may no longer have access to the page because of roles - but this is largely unnecessary and can be handled other ways).
  • Automated Verified Registration URL - the email sent to user when using he Verified Registration process now contain a URL which a user can click to very quickly validate their account

There are various ways to move from 3x to 4x depending upon your database, site requirements etc. For example:

 

Suppose you have to transfer sites from one hosting provider to another and upgrading at the same time to DNN4 from DNN3.
All you have to do is:

  • Back up your database and content
  • Set your site to run under ASP.NET 2.0
  • Unzip DNN4 on top of your current site

 

Suppose you have a large DNN installation and you are moving everything from DNN 3x to 4x. First of all you need to get DNN database from the local SQL Server 2000 to remote SQL Server 2005 then...

  1. Go to DNS and create a new sub domain called dev.somedomainname.com and pointed it to the development server IP address.
  2. Copy the entire DNN directory on the production server to the development server.
  3. Reset permissions on the dev server for the DNN folder. You can copy from production to allow Network Service full permission
  4. Create a new website on Dev in IIS and setup a host header for the new sub domain and for localhost, pointing it to the DNN folder copied from Production.
  5. Detach the production DNN database form the SQL Server 2000 instance.
  6.  Copy the MDF and LDF files for the DNN database from \mssql\MSSQL\Data on Prod and moved them to \Microsoft SQL Server\MSSQL.1\MSSQL\Data on Dev.
  7. Attach the database copied from Production using SQL Server Management Studio. Part of this process automatically upgrades database to from 2000 to 2005.
  8. Open web.config and changed the server name, username, and password for the remote SQL Server
  9. Open up a browser on the Dev server and went to http://dev.somedomainname.com and confirmed site was assessable.

 

A foolproof and efficient way to migrate from DotNetNuke version 3 to DotNetNuke version 4 has following steps:

  1. Create a new application pool and call it DNN4.
  2. Create a new site in IIS and call it DNN4. Set the site to use ASP.Net 2.0 and make sure it runs the application pool you just created. This is very important because you cannot run .Net 1.1 and .Net 2.0 in the same application pool.
  3. Download the install package for DNN 4.0
  4. Unzip the package into the folder where you want your site should be (same folder as you set in IIS when you created the DDN4 site)
  5. Create a new database and call it DNN4.
  6. Assign the same admin as database owner as you use in the production site.
  7. Rename the release.config to web.config and edit the connection strings so that they point to your SQL server and database. Do not point the connection strings to your production database.
  8. If you have done this locally browse to your site at http://localhost/.
  9. If everything is OK the install routine will start and a blank new DNN 4.0 site is created.
  10. Install all modules you use on your production site and be sure to check the version. Also check if the module is made to run for DNN 4.0. In the case of Active Forums you need to install the DNN 4.0 version. You can create a little Excel sheet with all the modules on the production site and check all versions.
  11. Now we have a blank DNN 4.0 site that should run without any errors.

The next steps are for copying data from your production database to another new database in SQL. Here we go:

 

  1. In SQL create a database with the name DNN4Beta.
  2. Assign the same admin as db owner as you use in the production site.
  3. And now something VERY important comes. You must match the machineKey validationKey and the decryptionKey to the values from the production site web.config. If you fail to do this you will not be able to logon to your site anymore. If you make this mistake on your production site you will need to restore your database.
  4.  Change the connection strings so that they point to your SQL server and database. In this case the database name will be DDN4Beta.
  5. Now we need to import data from the production database into DDN4Beta. Use SQL Server Manager for this.
  6. Copy all data from the production Portals folder to the DNN4 Portals folder.
  7. Browse to http://localhost/ . You will see that DNN will upgrade your database to version 4.x

 

If these steps are followed properly upgrading from 3x to 4x is quite simple.

 

Feedback Comments
Records per Page
Page 1 of 1First   Previous   Next   Last   
         3/27/2008 11:44:16 PM
Thx Well articals is excellent. But i got some error message in terms of "aspnet user" and "aspnet Permission". I am using .NET1.0 and DNN 3.0 and want to convert it to .NET2.0 and DNN 4.5. Need some more information.

Feedback





Enter the code shown above in the box below
Send

 
DNN Modules
Data Springs DNN Modules

View Dynamic Registration 2.4 Enterprise Edition

Just released Nov 08!

Data Springs Module Collection 2.0 (20 + Modules!)

Capture your users attention, enrich your site with multimedia flash, and create and opt in distribution list for your DNN site. These are just a few of the many features the Data Springs Module Collection can provide you.....more

List Price: $479.99
Price: $349.99
 
View Dynamic Registration 2.4 Enterprise Edition

Dynamic Registration 3.2 

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options.........more

List Price: $159.99
Price: $139.99
 
Opt In Email
Opt In Email V4.1
'Relationship Building' and 'Communication' are two essential nuts and bolts for a business to prosper. This module allows you to bridge both of these and easily generate continuous awareness of your web site, products and services. Your prospects and customers will greatly appreciate this feature ...more
List Price: $159.99
Price: $135.00
 
View Dynamic Forms 2.2 - Enterprise Edition
Dynamic Forms 3.0
In this day and age, knowing as much detailed information as possible about your customer, prospect or web site user is essential. Thankfully, the new 'Dynamics Forms' module from Data Springs, makes it easier than ever to segment your data collection efforts. ...more
List Price: $129.99
Price: $149.99
 
View Tailored Text v2.0 Enterprise Edition
Tailored Text v2.1
Renewal Reminder provides you with the functionality to setup email notifications for users that their security role will soon expire. After installing your renewal / security role reminder module you can now setup scheduled notifications to be distributed to your users ...more
List Price: $149.99
Price: $109.99
 
 
View Renewal Reminder
Renewal Reminder
Personalization allows you to go the extra mile in communicating or connecting one to one with your clients. When it comes to technology and web site content, you now have the power to leverage this personalization directly with your users on your DotNetNuke site. ...more
List Price: $129.99
Price: $89.99
 
 
View Dynamic User Directory v2.0 Enterprise Edition
Dynamic User Directory v2.5
The perfect compliment for extending your portals users and community! An essential ingredient for managing dynamic user information, is being able to sort key fields and create useful user directories and custom report information. ...more
List Price: $129.99
Price: $119.99
 
View Stock Quote - Enterprise Edition
Stock Quote 1.2 
Giving your site visitors relevant information is critical. With the Data Springs Stock Module you can provide your users with up to date financial information....more
List Price: $139.99
Price: $109.99
 
View Presentation Archive 1.0 Enterprise Edition
Presentation Archive  
With so much content on your web site, its important to give users an easy method for finding and retrieving content. Presentation Archive allows you to categorize, organize and present content within your DotNetNuke site for presentations, educational material, videos, and almost any document or co...more
List Price: $189.99
Price: $124.99
Search Engine Optimization Cloud Module for DotNetNuke

Dynamic Tags

Nearly every web site developer would agree that search engine optimization is one of key aspects to a successful web site. Part of search engine optimization requires providing search engines that crawl your web site with appropriate and meaningful content......more

List Price: $89.99
Price: $69.99
 
Google Grabber SEO Module for DotnetNuke

Page Tags

'Page Tags' pulls in search terms that users searched to find the current page. There are many benefits to displaying these search words that delivered the user to the site, find our more details .......more

List Price: $79.99
Price: $59.99
 
View Dynamic Registration 2.4 Enterprise Edition

Interactive User Import

Interactive User Import provides you with the functionality to easily and quickly import users into DotNetNuke and Dynamic Registration, through a streamlined and well-documented wizard that includes many advanced features........more

List Price: $149.99
Price: $119.99
 
 
View Real Estate 2.0 Enterprise Edition
Real Estate 2.3
Real Estate 2.3 is a feature rich and user-friendly module that allows your portal users the ability to create real estate listings on your site....more
Price: $149.99
 

View Info Pics Gallery Enterprise Edition
Info Pics Gallery 
The Info Pics Gallery Module allows you to display thumbnail pictures with information to the user about each picture, along with a detailed description regarding the set of pictures and several other optional links. ...more
 Price: $69.99
View Flash Info Cube

Flash Info Cube

Take your web site out of the box! Looking for a creative and interesting way to showcase information and content on your site? With millions of web sites offering information you need a fun way to display information and the solution is Flash Info Cube...more
Price $69.99
   
 
DotNetNuke Testimonials Module

Testimonials

The Testimonials Module allows you to display customer testimonials on your site, as well as an easy method for users to submit testimonials about your web site, services, or products....more
List Price: $69.99
Price: $49.99
 
View News Ticker Enterprise Edition
News Ticker 
Provide timely and quality news to your users, without much space! Easily present rotating news and announcements to your users with the News Ticker module for DNN. Several extended and optional features allow you to select the time to rotate each news item, include text, HTML, images, and hype...more
Price: $39.99
View Quote Creator
Quote Creator 
Quote Creator can easily help you in creating quotes for your potential customers, current customers, or even offer you other means of communication with clients. With Quote Creator, you can send custom professional quotes and file attachments to your customers. ...more
List Price: $30.00
Price: $17.99
View Quick Poll - no license restrictions

Quick Poll 

Give your users a voice, while also providing an important way for you to gather opinions from your users and measure visitors' responses to questions on your site! Polls are significant because they can provide a way for your web site visitors to share ideas and vote on topics of your choosi...more
List Price: $39.99
Price: $20.99
Flash Image Rotator
Flash Image Rotator
Who would have thought? The Flash Image Rotator displays selected images and then rotates between the images. Several extended and optional features allow you to select the time to rotate each image, fade between images, and also display ...more
List Price: $47.99
Price: $39.99
Dynamic Login Module for DNN
Dynamic Login 3.0 
The content on your site isn’t vanilla, so why is your portals login? The user login page is used by every user registered in your portal, but yet once they sign in they go to the exact same page? Customize your portal with Dynamic Login to offer additional features and enhancements during the login...more
List Price: $159.99
Price: $114.99
Random Image Module for DNN
Random Rounded Images
Random Rounded Images is an easy to use upgraded version of the images module included with DNN. With RRI, you can select multiple images to display randomly when the module loads. For example, you can add 10 images to the module, and each time you refresh or load the page one of those images will...more
List Price: $63.99
Price: $49.99
View Back on Track Enterprise Edition
Back On Track 2.0
Giving your site visitors fast access to areas of interest is vital to your web site's ease of use and ultimately - sales potential. ...more
List Price: $129.00
Price: $79.99
View Flash Contacts Enterprise Edition
Flash Contacts 2.0
Flash Contacts is the fastest and easiest way you can help visitors of your website connect with your key personnel. Going beyond an ordinary directory search, Flash Contacts quickly adds a personal touch, giving customers a face-to-face feeling - a key sales ingredient to building strong client/cu...more
List Price: $119.99
Price: $79.99

Copyright 2005 - 2009 by Data Springs, Inc.
Contact Us | Terms Of Use | Privacy Statement