Wednesday, September 08, 2010
  Search
 
Register
Login
 
CodePrint Module
Tired of mucking around with adding code chunks to your website? We all know what a pain it can be trying to add some simple block of code to our webpages and still make it readable. Introducing....T...

Find this article and more in the DotNetNuke category

Read This Article . . .

Resolving Troubles with DNN User Controls During Module Development & Compilation
So, you've created a module in a separate project using some DNN User Controls and now you're receiving errors and can't compile? If you are using these controls (list below) on your module using ...

Find this article and more in the category

Read This Article . . .

How To Customize the Privacy and Terms Links on Your DotNetNuke Portal
Straight out of the box, DotNetNuke already has a lot of things covered. But, what do you do when you are ready to begin customizing your site. Sometimes, it’s not so easy to figure out how to make t...

Find this article and more in the category

Read This Article . . .

Everything You Never Wanted to Know About the Config File
This is the "pre-" first installment in a series that will cover the parts of the web.config file to give you an idea of how to manipulate and customize your DotNetNuke portal. The web.config fi...

Find this article and more in the category

Read This Article . . .

Simple Intro to the DNN UserInfo Class
 New DNN developers often wonder how to expose information about logged in users to a custom DotNetNuke module. So, I threw together a very simple example to show how easy it is to begin using the bu...

Find this article and more in the DotNetNuke category

Read This Article . . .

Adding Google AdSense with Video
Adding Google AdSense to your DotNetNuke portal has never been easier. By default, a Google AdSense module is added the list of installed modules when your DNN portal is first created. It's easy to ...

Find this article and more in the Modules category

Read This Article . . .

How To Customize the Privacy and Terms Links on Your DotNetNuke Portal
Straight out of the box, DotNetNuke already has a lot of things covered. But, what do you do when you are ready to begin customizing your site. Sometimes, it’s not so easy to figure out how to make t...

Find this article and more in the DotNetNuke category

Read This Article . . .

New DotNetNuke 5.0 Cambrian Package Writer for Module Developers
Attention developers! DotNetNuke 5.0 Cambrian has a nifty new tool to help developers package their modules nicely to fit with the new “Extensions” manager. Under the old Module Definitions manager, ...

Find this article and more in the category

Read This Article . . .

Customize Your DotNetNuke Installation
Do you ever get tired of installing DotNetNuke just to go and change the same properties over and over? Why not just customize your install and skip the drudgery all together…

Find this article and more in the category

Read This Article . . .

More Ways to Install DotNetNuke Modules with the URL Method
While DotNetNuke has a built in mechanism for installing modules, there is another method you can use as well. This is a great alternative to use especially when you are trying to install larger mod...

Find this article and more in the category

Read This Article . . .

Recently Added Articles

Minimize
Article List

 

Upgrading to DotNetNuke Cambrian 5.0 from DotNeNuke 4.x

12/8/2008 5:19:10 PM - By Briana Tarrance

Category: | | Comments 0

 

 

Related Links

If you're looking to try out the new DNN Cambrian package, you can upgrade previous DotNetNuke installations with the following steps. Remember, as of right now, the DNN 5.0 Cambrian package available for download is a Release Candidate and should not be used in production evironments. That said, upgrading to the new 5.0 version is just as easy as it's always been. Here's how:

 

The first thing you'll need to do is download the Upgrade package from the dotnetnuke.com website. As with any upgrade process, there are a few things you should do PRIOR to beginning any website upgrade.

  • Backup Database
  • Backup All Files
  • Disable Compression Tools

Once you have done your backups and downloaded the package, you'll need to unzip the Upgrade package and upload the files on top of your existing DotNetNuke files. NOTE that the Upgrade packages do not include a web.config file  so you shouldn't need to worry about changing/modifying connection strings and other settings.

Once you have uploaded the files, all you need to do to trigger the upgrade is to browse to your website URL and you'll begin to see the Upgrading DotNetNuke screen along with the status of the process. When the process is complete, you will receive a link that will take you to the website.

DotNetNukeCambrianUpgradeStatusScreen

During the upgrade, all the required files will be installed, but there may be additional files and features that are not installed such as optional skins or modules. You can quickly install these optional files after the initial upgrade by typing the following into your browser bar:

http://www.mydomain.com/install/install.aspx?mode=installresources . This will install all available resources that were not installed during the upgrade. For example, after my initial upgrade the above command resulted in the following resource installations:

DotNetNukeInstallResourcesCompleteScreen

To see what resources are available, you can look in the "Install" folder in the root of your directory where you can find the resources are organized by type. This is a great way to do batch resource installation. If you only want to install one or two items and not everything, you can either remove the files that you know do not want and execute the URL. Alternatively, you can rename the files you do want changing the ".resources" to ".zip" and then uploading the files through the default method of module or skin installation within your DotNetNuke portal or by using the new "Batch Install Extensions" feature found under the Host>>Extenstions menu item.

And that's it. You've been upgraded. Most upgrades are smooth sailing, but sometimes...not so much. Learning how to troubleshoot errors during installation can help save you a lot of headaches. Here's some tips to help you out.

 

Troubleshooting Upgrade Errors:

 

Check Assemblies

You may have two assemblies conflicting with each other as a result of the upgrade. Sometimes during the upgrade process, new assemblies are installed in the file structure, but the old ones aren't removed or overwritten. When this happens, delete or change the name of the suspect file. Go back to the browser and try again.

If you receive this error when upgrading to DNN Cambrian RC:

Method 'GetRoleGroupByName' in type 'DotNetNuke.Security.Membership.DNNRoleProvider' from assembly 'DotNetNuke.Provider.DNNProvider, Version=2.0.0.23759, Culture=neutral, PublicKeyToken=null' does not have an implementation.

DotNetNukeCambrianUpgradeError_RoleProvider

Check the assembly folders. Most likely, you have the following conflicting files: \bin\DotNetNuke.Provider.DNNProvider.dll - 2.0.0.23759 and \bin\Providers\DotNetNuke.Provider.DNNProvider.dll - 5.0.0.20212 . If you have both of these files, delete the file in the \bin directory and leave the file in the \bin\Providers directory.

 

 

Errors during Installation

DotNetNukeCambrianUpgradeAndTroubleshooting

Click the link to continue to the portal where we can view the log files to try to track down the error. 

Go to Host >> Host Settings >> scroll all the way to the bottom and select the 5.00.00 log file from the drop down list and hit Go

DotNetNukeCambrianViewingUpgradeLogFiles

From here you will be able to view the errors that were encountered during the upgrade process as seen here:

DotNetNukeUpgradeLogErrorReport

From the error message on the screen, you can begin to troubleshoot what your specific error is. In the particular message seen above, I have a feeling that this has to do with the ActiveDirectory provider that I have already installed in my portal. So, now that I have been given more information from the log file, I am better able to decide what to do now to resolve the issue.

Yep...in this case, it was the provider. I removed the existing ActiveDirectory package and installed the new ActiveDirectory package for DNN 5 manually. (Incidentally, if you run into errors during the ActiveDirectory installation, read this)

powered by metaPost

{BigGooglePic}

 

Related Articles
Installation from the DotNetNuke Install Package 4.90 to Windows XP Professional
How to Install DotNetNuke 5.0 Cambrian and Video
Quick Look at Some New Features of DotNetNuke 5 Cambrian

 
 
Copyright 2008 by Virtual-Essentials.com Privacy Statement    Terms Of Use