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...Upgrade from 4.3.7 ---> 4.4.1   --  WOWUpgrade from 4.3.7 ---> 4.4.1 -- WOW
Previous
 
Next
New Post
2/9/2007 4:07 AM
 

From my experience, there are three factors influencing the success of upgrades:

  • number on 3rd party modules
    This is the main issue I encountered. Always try to check the developers site for available upgrades first
  • consistency of the database
    is is always best practice to check the content of the database before upgrades, although it needs to be done manually and required deeper knowledge of DNN's internals. If you upgrade a version prior to DNN 3.3.0/4.3.0 to latest DNN version, I suggest to make a beackup and clear the content of the following tables:
    • EventLog
    • Files
    • Folders
    • SearchItem
    • SearchItemWord
    • SearchItemWordPosition
    • SearchWord
  • version number
    the longer you wait, the more changes are needed. Especially if you are doing a DNN 2 upgrade, I suggest to upgrade to DNN 3.0.13 first and in a second step to latest DNN 4.4 version.

And another note: if there are issues listed during the upgrade, check the associated log file, even if the portal seems to run fine, because an issue can lead to problems with future upgrades.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/9/2007 11:58 AM
 

agree..

the upgrade will complete 'successfully' even though there are database script errors.....    it does tell you but it is too easy to pass by because everything completes and it says installed successfully.

I think there is a problem there...  an upgrade shouldnt be successful unless everything was 100%.     Now..  how do you solve that in an automated process...    if I knew I'd be rich!  :)

 
New Post
2/9/2007 10:54 PM
 

Shawn Duggan wrote
Any DLL in the bin folder is loaded upon site request...so a simple thing to improve speed  is to uninstall the modules you are not using.

This is incorrect. DLL's are loaded as requested and the GC unloads and cleans them up as they are not needed.

The don't call it "managed" code for no reason. ;)

 
New Post
2/10/2007 8:08 AM
 
Let me clarify my statement, what I was saying is that if your site is not currently loaded in server memory, in my opinion the number of DLL's in the bin folder will impact the time required to get the site up and functional.  I'm not saying that every page request loads every DLL.  I was referring to application start up times.

As I've read somewhere, I believe this is why there is an advantage to placing module DLL's in a subfolder within the main bin folder - to avoid the load by default behaviour of all DLL's in the main site bin on app start up. 

Perhaps I'm wrong.  If so, I would appreciate any clarification someone could add or articles they could point me to.
 
New Post
2/10/2007 9:33 AM
 

Ed.  The original statement is correct for the default Asp.Net behavior.  If you look in C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG at the base web.config file you will see a section like this:

        <compilation>
            <assemblies>
                <add assembly="mscorlib" />
                <add assembly="System, Version=2.0.0.0, Culture=neutral, ..." />
                <add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, ..." />
                <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, ..." />
                <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, ..." />
                <add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, ..." />
                <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, ..." />
                <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, ..." />
                <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, ..." />
                <add assembly="System.Web.Mobile, Version=2.0.0.0, Culture=neutral, ..." />
                <add assembly="*" />
                <add assembly="System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, ..."  />
                <add assembly="System.IdentityModel, Version=3.0.0.0, Culture=neutral, ..." />
                <add assembly="System.ServiceModel, Version=3.0.0.0, Culture=neutral, ..." />
            </assemblies>

Notice about three quarters of the way down that there is an entry of assembly="*".  This tells Asp.Net to load all assemblies in the application \bin.  This behavior has been verified with Scott Guthrie and the Asp.Net development team at Microsoft, and has been thoroughly tested by us in a test lab setting.

If you look in the latest versions of DotNetNuke (4.4.0+) you will notice that we added the following section to the web.config:

  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="bin;bin\HttpModules;bin\Providers;bin\Modules;bin\Support;" />
    </assemblyBinding>
  </runtime>

This allows us to move some assemblies out of the \bin directory so that the default \bin loading behavior is ignored and instead those assemblies can be loaded on demand.  The probing element tells the runtime to look in these additional directories if it does not find an assembly in the GAC or \bin directories.

So, to sum it up:  If you are not using a module on your site, then uninstall the module. It will increase your startup performance.


Joe Brinkman
DNN Corp.
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Upgrade from 4.3.7 ---> 4.4.1   --  WOWUpgrade from 4.3.7 ---> 4.4.1 -- WOW


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