More in this section

Forums / General Discussions / Project upgrade from 4.0 to 4.1 Errors

Project upgrade from 4.0 to 4.1 Errors

2 posts, 0 answered
  1. Jesster
    Jesster avatar
    3 posts
    29 Apr 2011
    09 May 2011
    Link to this post
    Hey guys,

    Recently I upgraded a 4.0 project to 4.1 following the instructions here Documentation for 4.1 Upgrade. However when I tried to launch the project I got a host of errors on my pages. On my child pages I got a couple of them complaining about a The ID 'C000' is already used by another control.

    After realizing that my Content Blocks we being given ID's i removed them. Then my template broke and regions when previewed are working fine but when published are scattered. Eventually I had to add more regions to my template to get it to work. Though this is a temporary fix i now have 2 extra regions that aren't doing anything. 

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

    Parser Error Message: The ID 'C000' is already used by another control.

    Source Error: 

    Line 38: <BrowseAndEditableInfo ControlDataId="40a58544-9f67-48f3-8ecf-a2eacde03aea" PageId="b996fc01-d63f-4103-af74-685ee49eb275" ControlType="Telerik.Sitefinity.Modules.GenericContent.Web.UI.ContentBlock" /></sf:ContentBlock><div runat="server"  class="sf_cols   leftcollinks">
    Line 39:     <div runat="server"  class="sf_colsOut sf_1col_1_100" style="width: 100%; ">
    Line 40:         <div runat="server" class="sf_colsIn sf_1col_1in_100" id= T550B2515013_Col00 ><sf:NavigationControl CustomSelectedPages="[{&quot;__type&quot;:&quot;Telerik.Sitefinity.Web.UI.NavigationControls.SelectedPage&quot;,&quot;Title&quot;:&quot;HOME&quot;,&quot;Id&quot;:&quot;a58b3fce-26d0-438f-a525-2b43332e9454&quot;,&quot;Url&quot;:null,&quot;IsExternal&quot;:false},{&quot;__type&quot;:&quot;Telerik.Sitefinity.Web.UI.NavigationControls.SelectedPage&quot;,&quot;Title&quot;:&quot;Entertainment&quot;,&quot;Id&quot;:&quot;a089280a-3582-45a6-b60d-705e50ac9596&quot;,&quot;Url&quot;:null,&quot;IsExternal&quot;:false},{&quot;__type&quot;:&quot;Telerik.Sitefinity.Web.UI.NavigationControls.SelectedPage&quot;,&quot;Title&quot;:&quot;Sports and Sightseeing&quot;,&quot;Id&quot;:&quot;a4c11e23-c328-42fa-8bca-2f95063859d0&quot;,&quot;Url&quot;:null,&quot;IsExternal&quot;:false},{&quot;__type&quot;:&quot;Telerik.Sitefinity.Web.UI.NavigationControls.SelectedPage&quot;,&quot;Title&quot;:&quot;Golf&quot;,&quot;Id&quot;:&quot;0fdfbb56-795d-45ad-b94c-40744e7b2949&quot;,&quot;Url&quot;:null,&quot;IsExternal&quot;:false},{&quot;__type&quot;:&quot;Telerik.Sitefinity.Web.UI.NavigationControls.SelectedPage&quot;,&quot;Title&quot;:&quot;Calendar of Events&quot;,&quot;Id&quot;:&quot;65a41f9e-8ede-41f2-bac5-3d4cf8a87f34&quot;,&quot;Url&quot;:null,&quot;IsExternal&quot;:false}]" ID="C000" NavigationMode="VerticalSimple" SelectionMode="SelectedPages"  runat="server">
    Line 41: </sf:NavigationControl>
    Line 42:             

     I realized new ID's were even given to the controls. My existing Content Blocks now have new ID's 'C001'. The next minor thing is that I have a Content Block on the right and it's being replicated with a photo of the Content Block on the left. It is literally an snapshot of the Content Block that's on the right and being placed in a div with a class names on the left.
    <div class="sfimageWrp"> <img id="topNav_C002_ctl00_ctl00_imageItem" src="images/default-album/2011/03/04/rightCol.jpg" alt=""></div>

     When I edit the page there isn't a content block or an Image Widget being used. All these things seem quite weird for an upgrade. If possible can someone advise what I can do to get these fixed. Thanks for the assistance.
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    06 Jul 2015
    10 May 2011
    Link to this post
    Hi Jesster,

    It seems after the upgrade the ID's of your controls have been messed up and need to be changed. You can change them manually by going to each page ( this solution is working perfectly if your website  does not contain 5000+ pages ) or by executing some code which changes all your pages controls ID to random numbers. Please consult the following forum thread which contains information on how to resolve the issue by executing some code thus generating random GUID's for your controls.

    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered