Register   Login
     
  Categories  
  Archives  
  Authors  
  Blog  
03

Mariette from SmallBizServer.net has posted a great post in the ventrian forums about upgrading DotNetNuke 3.x to 4.x.

Here is an excerpt from the post:-

OK, this was not as difficult as it looked like. http://dev.smallbizserver.net is running DNN 4.02 on .Net 2.0 now.

The steps I made:

  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 dbowner 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. I still use SQL 2000 so I had to comment out the SQL Express strings. Do not point the connection strings to your production database.
  8. If you have done this locally browse to your site at http://localhost or as I did to the dev site.
  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. I created a little Excel sheet with all the modules I run on the production site and checked all versions. You should do the same!

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 dbowner as you use in the production site.
  3. And now something VERY 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 or as I did to the dev site. You will see that DNN will upgrade your database to version 4.02.

I have read to many failures in forums.asp.net and therefor I believed upgrading was a problem. It seems that those people don't really read the documention that comes with DNN.

OK, this is upgrading DNN 3.2.2 to DNN 4.02 in a nutshell. Enjoy...

You can read the full thread here. (Thanks Mariette!)

Posted in: DotNetNuke Core

Comments

Mariette
# Mariette
Sunday, August 06, 2006 5:43 AM
Thanks for putting this in your blog :-) Makes me feel important and a bit of a DNN guru though I am far from that...
Mariette
# Mariette
Sunday, August 06, 2006 8:04 AM
BTW, I have written another tutorial on "How to Enforce the Terms of a site on user registration":
http://www.smallbizserver.net/Default.aspx?tabid=285&EntryID=77
Neodean
Wednesday, November 11, 2009 7:24 AM
Hi all
This is Neodean

I have a problem Please Solve it
I have Created a DotNetNuke base Web application (myapplication) on a Remote machine it is working fine on that Remote

Machine
Now i saved and compiled the "myapplication" on C:\inetpub\wwwroot\

i have created an HTML Page "sample.html" in C:\inetpub\wwwroot\myapplication\sample.html

and accessing from my Local Machin as
http://RemoteMachinIPAddress/myapplication/sample.htm

it is working fine....

and Now trying to Access the Remote machine application (myapplication) from my Local machine as
http://RemoteMachinIPAddress/myapplication/home.aspx

but not able to access on My local Machine

The Error i am facing on my Local machin

Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review

the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application

level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 104:
Line 105:
Line 106:
decryptionKey="57EE4266C0D450FA5A4F34E6CDE7BED0EE03DB3E8F2B0A04" decryption="3DES" validation="SHA1" />
Line 107:
Line 108:


Source File: C:\inetpub\wwwroot\myapplication\web.config Line: 106


Please Solve this issue to access myapplication saved on Remote Machine in C:\inetpub\wwwroot\
and trying to access from local machine

Neodean
Wednesday, November 11, 2009 7:24 AM
This is Neodean

I have a problem Please Solve it
I have Created a DotNetNuke base Web application (myapplication) on a Remote machine it is working fine on that Remote

Machine
Now i saved and compiled the "myapplication" on C:\inetpub\wwwroot\

i have created an HTML Page "sample.html" in C:\inetpub\wwwroot\myapplication\sample.html

and accessing from my Local Machin as
http://RemoteMachinIPAddress/myapplication/sample.htm

it is working fine....

and Now trying to Access the Remote machine application (myapplication) from my Local machine as
http://RemoteMachinIPAddress/myapplication/home.aspx

but not able to access on My local Machine

The Error i am facing on my Local machin

Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review

the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application

level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 104:
Line 105:
Line 106:
decryptionKey="57EE4266C0D450FA5A4F34E6CDE7BED0EE03DB3E8F2B0A04" decryption="3DES" validation="SHA1" />
Line 107:
Line 108:


Source File: C:\inetpub\wwwroot\myapplication\web.config Line: 106


Please Solve this issue to access myapplication saved on Remote Machine in C:\inetpub\wwwroot\
and trying to access from local machine

Post Comment

Name (required)

Email (required)

Website

Enter the code shown above:

  Latest Comments  
Test Blog Post with Files
I would also like to see [downloadcount] token for... by türkçe dotnetnuke
Skins by Armand Nokiko
@ArbabIts a normal price for a skin its less than ... by Armand
Skins by Armand Nokiko
Yes its good. But i think its very high priced.Plu... by Arbab
Distance Sorting in Property Agent
We are using this module for our travel portal to ... by greenflash
Distance Sorting in Property Agent
We are using this module for our travel portal to ... by greenflash
Skins by Armand Nokiko
great template, looks promising. by greenflash
Skins by Armand Nokiko
Very Cool.Amazing what can happen when a great des... by pspeth
Skins by Armand Nokiko
very nice work armand! (FYI your rss image is mis... by Jon V
Skins by Armand Nokiko
tanks for the heads up, couldn't have done it with... by nokiko
Sample Article with Images
Hi Scott, where can I find documentation or exampl... by cubeconsulting