1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Upgrade to 4.2 from 4.1 SP1

Upgrade to 4.2 from 4.1 SP1

4 posts, 0 answered
  1. Eric
    Eric avatar
    147 posts
    Registered:
    12 Nov 2007
    10 Aug 2011
    Link to this post
    I assume if I'm running 4.1 SP1, I should upgrade to SP2 or SP3 and then to 4.2? Based on the release notes, it doesn't look like you can do a SP1 direct upgrade.

    Thanks
  2. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    Registered:
    09 Sep 2007
    10 Aug 2011
    Link to this post
    Hi Eric,

    Sitefinity 4.1 to Sitefinity 4.2 should work okay.  It's a scenario we tested.  There is no need to upgrade through the service packs.

    Regarding Sitefinity 4.0, we recommend upgrading to 4.1 before proceeding to 4.2.

    Gabe Sumner
    Telerik | Sitefinity CMS
  3. Majid
    Majid avatar
    17 posts
    Registered:
    02 Jun 2011
    28 Aug 2011
    Link to this post
    Hey all,
    I have same problem for switching from SF 4.1 to SF4.2.

    Actually in our solution there are a few modules which are in separated projects, so for converting the project to the new version I've done following steps:

    1- I've upgrated the project by Sitefinity project manager.
    2- I've changed the references to new version dlls for modules projects.
    3- I fixed .csproj files of module projects:
       3.1: OpenAccess_Enhancing="True"
       3.2: <Import Condition="Exists('$(OpenAccessPath)\OpenAccess.targets')" Project="$(OpenAccessPath)\OpenAccess.targets" />

    but now I have following errors:
    1. When I'm trying to load the project website, it gets lots of performance and after a while says:

    Application id class 'Telerik.OpenAccess.RT.OID.GuidIdentity' must have field: 'public System.Guid Telerik.Sitefinity.GenericContent.Model.Content.contentId'


    and sometimes

    Exception of type 'System.OutOfMemoryException' was thrown.

    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.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    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: 

    [OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
       System.Collections.Generic.List`1.set_Capacity(Int32 value) +93
       System.Collections.Generic.List`1.Add(T item) +74
       Telerik.Sitefinity.Modules.Pages.PageHelper.GetTemplates(PageNode pageNode) +91
       Telerik.Sitefinity.Web.PageSiteNode.LoadPageData() +971
       Telerik.Sitefinity.Web.PageSiteNode.get_Visible() +16
       Telerik.Sitefinity.Web.RouteHelper.CheckSiteMapNode(SiteMapNode pageSiteMapNode) +468
       Telerik.Sitefinity.Web.UI.NavigationControls.NavigationControl.InitializeSiteMapDataSource() +873
       Telerik.Sitefinity.Web.UI.NavigationControls.NavigationControl.InitializeControls(GenericContainer container) +104
       Telerik.Sitefinity.Web.UI.SimpleView.CreateChildControls() +82
       System.Web.UI.Control.EnsureChildControls() +182
       System.Web.UI.Control.PreRenderRecursiveInternal() +60
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4201



    and in Modules pages in backend I can see my entities but when I'm trying to update or add a new one it throw errors!
    Its pretty Urgent right now, and any help would be appreciated!

    Thanks,
    Majid!
  4. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    18 Sep 2017
    31 Aug 2011
    Link to this post
    Hello Majid,

    Sitefinity doesn`t migrate modules when sitefinity project is upgraded to a higher version. Can you open a support ticket and send me the module before you upgraded it (as it was working in previous version). I will try to add it to Sitefinity 4.2 project at my end.

    Additionally I presume you have Sitefinity 4.2 SDK installed(with the new version of OpenAccess). It is needed for module enhancing because enhancer.exe is located in
    Copy Code
    <PropertyGroup>
        <OpenAccessPath>$(SolutionDir)..\..\..\..\..\Common\Dependencies\</OpenAccessPath>
    If you don`t have this installed please install it as it will enhance the module. For proper configuration of .csproj file please refer to productsmodule .csproj for Sitefinity 4.2.

    Kind regards,
    Stanislav Velikov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

4 posts, 0 answered