How to Upgrade 3.1 Source???

Last post 12-30-2005 9:11 AM by adefwebserver. 12 replies.

Sort Posts:

  • How to Upgrade 3.1 Source???

    12-13-2005, 9:22 PM
    • Contributor
      3,429 point Contributor
    • rfurdzik
    • Member since 07-01-2002, 6:32 PM
    • zikbay.com
    • Posts 1,721

    Hello,

    In the documentation it says:

    "The situation is a little trickier if you want to upgrade to the Source version of DotNetNuke v4.0.

    It is therefore recommended, that rather than overwriting in some way your old “site”,

    that you follow the instructions in the previous chapter to create a new DotNetNuke v4.x

    site, and move any custom content you have on your old site, such as Modules, Skins and

    Portal content, as well as your web.config file, to the new site."

    There is no explanation how exactly to do this... How to move all the content (including modules and source code for modules) from old 3.1 portal to 4.1. Can somebody provide step by step instructions?

    It is a shame that the users using version 3.1 source with the existing portals are left alone... It seems that DNN become very commercial at this point... Seems to me the team is trying to please MS by any means and do not care about the existing users that much.

  • Re: How to Upgrade 3.1 Source???

    12-24-2005, 3:53 PM
    • Contributor
      3,429 point Contributor
    • rfurdzik
    • Member since 07-01-2002, 6:32 PM
    • zikbay.com
    • Posts 1,721
  • Re: How to Upgrade 3.1 Source???

    12-24-2005, 8:22 PM
    • Star
      13,100 point Star
    • JWhite
    • Member since 06-26-2002, 10:30 AM
    • New York
    • Posts 2,616

    rfurdzik,

    As you may know we actually take backward compatability very seriously, however, the Core Team was forced to make some hard decisions when faced with supporting ASP.Net 2.0 installations.  The development and compilation model are ENTIRELY DIFFERENT and largely incompatible.  We had to make some "breaking" changes in the file locations  and directory structure (DNN 4.x) but still allowed for 3.x private assemblies to work.  That is why we have maintained a 3.x and a 4.x code base that are basically identical except for the ASP.Net platform they are aimed at.  This has nothing to due with MS per se.  They are the maintainers of ASP.Net.  we chose to use their sandbox. They changed the rules so we adapted and will continue to do so as needed to support our user, developer and hosting community who wish to stay up to date with ASP.Net.  For now, that means supporting both code bases.

    In addition, we do not know the specifics for every 3rd party module available so we can not advise on the exact details for moving the content and files for every 3rd party module. 

    I would suggest an update to 3.2.2 if you are not comfortable or do not have the information from module vendors to do a manual 4.0 migration process.  It is functionally equivilent to 4.0.2

  • Re: How to Upgrade 3.1 Source???

    12-28-2005, 2:07 AM
    • Member
      155 point Member
    • sharanya
    • Member since 10-21-2005, 2:20 PM
    • Posts 31

    Hi everybody,

    Presently I am using DNN 3.1.1. What steps should I follow to upgrade into DNN 4.x

    Please help me...

    Regards,

    Sharanya

  • Re: How to Upgrade 3.1 Source???

    12-28-2005, 6:42 PM
    • Contributor
      3,429 point Contributor
    • rfurdzik
    • Member since 07-01-2002, 6:32 PM
    • zikbay.com
    • Posts 1,721

    Thanks a lot for your answer. All I wanted to know if there is any guide describing details (step-by-step instructions). I have existing portal in DNN3 and now I want to copy content to DNN4 (portal content, admin and host settings etc.). Do I need to export Portal template? Do I need to copy content of Portals directory??? I understand that upgrade of custom modules is not supported.

    Thanks a lot, I apologize about my previous comments, I just got frustrated, because no help is available on this issue.

  • Re: How to Upgrade 3.1 Source???

    12-29-2005, 3:27 PM
    • Participant
      1,214 point Participant
    • portvista
    • Member since 03-30-2004, 8:24 PM
    • Florida
    • Posts 248
    How is the upgrade to 4.X from 3.X supported, but NOT an upgrade from 3.X source?

    I don't quite understand.

    The only difference is that there are extra vb files and such included. The reason I ask is that I have several source installs that I've since deleted the source files from.
  • Re: How to Upgrade 3.1 Source???

    12-29-2005, 4:06 PM
    • Member
      175 point Member
    • emmensus.com
    • Member since 08-24-2002, 4:34 PM
    • Posts 35

    Yes, you should install  4.02 Install.
    (you should backup everything)

    I followed the instructions, exactly step by step, and things went better than what I expected.
    (I upgrade from:    3.1 -->  4.02      asp.net 1 ->  asp.net 2.0   sqlserver2000  --> sqlserver2005)

    Good:
    - no data lost
    - no skin problems for all portals (15 portals)
    - 1/5 of core modules working well


    Bad:
    - None of my custom modules are working
    - 4/5 of core modules not working

    So i'm working on that, rigth now..

    here's the error i get on most of my modules:

    Error: Text/HTML is currently unavailable.
    DotNetNuke.Services.Exceptions.ModuleLoadException: Value cannot be null. Parameter name: connectionString ---> System.ArgumentNullException: Value cannot be null. Parameter name: connectionString at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Html.SqlDataProvider.GetHtmlText(Int32 moduleId) at DotNetNuke.Modules.Html.HtmlTextController.GetHtmlText(Int32 moduleId) at DotNetNuke.Modules.Html.HtmlModule.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

  • Re: How to Upgrade 3.1 Source???

    12-29-2005, 5:06 PM
    • Contributor
      5,869 point Contributor
    • adefwebserver
    • Member since 06-07-2003, 8:50 AM
    • Los Angeles, CA
    • Posts 1,186
    I just dropped the DNN4 source over my DNN3 source and it upgraded with no problems. Reading this thread it appears that that is not suppose to work? Or is it that "it can't be guaranteed to work"?
  • Re: How to Upgrade 3.1 Source???

    12-29-2005, 6:05 PM
    • Contributor
      3,429 point Contributor
    • rfurdzik
    • Member since 07-01-2002, 6:32 PM
    • zikbay.com
    • Posts 1,721
    How did you dropped it? Please give more details? Thanks.
  • Re: How to Upgrade 3.1 Source???

    12-29-2005, 7:20 PM
    • Contributor
      5,869 point Contributor
    • adefwebserver
    • Member since 06-07-2003, 8:50 AM
    • Los Angeles, CA
    • Posts 1,186

    rfurdzik wrote:
    How did you dropped it? Please give more details? Thanks.

    • I unzipped the files over the current install.
    • I replaced the current web.config with the release.config.
    • I transferred my machine key settings.
    • I configured my SQL connection strings.
    • I set the site to run as a asp.net 2.0 site in IIS configuration.
    • Then I browsed to the website and it upgraded. I only had custom modules and they work fine.
  • Re: How to Upgrade 3.1 Source???

    12-29-2005, 10:51 PM
    • Contributor
      3,429 point Contributor
    • rfurdzik
    • Member since 07-01-2002, 6:32 PM
    • zikbay.com
    • Posts 1,721
    Wow, not bad. Thanks a lot. I will tryt it, however I did start from scratch already and I am preatty close to finish it all. One of the modules I have developed does not work :(
  • Re: How to Upgrade 3.1 Source???

    12-30-2005, 2:36 AM
    • Contributor
      3,429 point Contributor
    • rfurdzik
    • Member since 07-01-2002, 6:32 PM
    • zikbay.com
    • Posts 1,721

    So after starting form scratch I got DNN 4 working, source version. I will manually recreate all settings...

    However now after copying files to hosting provider and copying SQL there is some strange bahaviour. I wonder if this has something to do with encryption keys you have mentioned... But this is the first installation on the server, so I have used my local PC's web.config and changed SQL connection settings...

    1) Seems security is all messed up. Different pages show on startup..

    2) Child Portal is not accessible (yes I have changed Portal_Alias table). This is the message I am getting:

    Server Error in '/APP' Application.

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       DotNetNuke.Entities.Tabs.TabInfo.get_IsAdminTab() +67
       DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +3284
       DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +83
       DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +3797
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

     

  • Re: How to Upgrade 3.1 Source???

    12-30-2005, 9:11 AM
    • Contributor
      5,869 point Contributor
    • adefwebserver
    • Member since 06-07-2003, 8:50 AM
    • Los Angeles, CA
    • Posts 1,186
    I had no child portals in my setup, sorry. Also how much memory do you have on the machine?
Page 1 of 1 (13 items)