Migrating from 3.7 to 5 - Template issues - Upgrading Sitefinity - Upgrading Sitefinity - Progress Community
 Upgrading Sitefinity

Migrating from 3.7 to 5 - Template issues

  • Migrating from 3.7 to 5 - Template issues
  • Morning,

    I am having issues migrating from 3.7 to 5. I've done all the step, and everythign seems to migrate over properly except for my Templates. The error I get is that it cannot load master file. I've read that there's code issues going from 3.7 to 5, but I can 't seem to figure out why. I've attached the code for opinions. Thanks in advance.

    <%@ Master Language="C#" %>
      
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      
    <head runat="server">
    <link rel="stylesheet" type="text/css" media="print" href="http://10.96.88.150/cms/css/print.css">
    </head>
      
    <!-- Body -->
    <body>
    <form id="form" runat="server">
    <asp:ScriptManager ID="scriptmanager" runat="server"></asp:ScriptManager>
            <div id="container">
                <div id="banner"><asp:Label ID="Banner" runat="server" Text="<%$ Resources: OLC, Banner %>" /></div>
                <div id="menu">
                    <ul>
                        <li class="menu_area"><asp:ContentPlaceHolder ID="LanguageToggle" runat="server"></asp:ContentPlaceHolder></li>
                        <li class="menu_area"><asp:Label ID="Home" runat="server" Text="<%$ Resources: OLC, Home %>" /></li>
                        <li class="menu_area"><asp:Label ID="Contact" runat="server" Text="<%$ Resources: OLC, Contact %>" /></li>
                        <li class="menu_area"><asp:Label ID="Help" runat="server" Text="<%$ Resources: OLC, Help %>" /></li>
                        <li class="menu_area"><asp:Label ID="Label1" runat="server" Text="<%$ Resources: OLC, Search %>" /></li>
                        <li class="menu_area"><asp:Label ID="National" runat="server" Text="<%$ Resources: OLC, National %>" /></li>
                    </ul>
                </div>
                <div id="temp">
                       <asp:Label ID="Label2" runat="server" Text="<%$ Resources: OLC, Temp %>" />
                    </div>
                <div id="breadcrumbs">
                    <asp:ContentPlaceHolder ID="bcrumbs" runat="server"></asp:ContentPlaceHolder>
                </div>
                  
    <!-- Left Column -->
      
             <div id="left">
                <div id="left_menu">
                    <div class="nav_title">
                         <asp:Label ID="Information" runat="server" Text="<%$ Resources: OLC, Information %>" />
                    </div>
                        <div class="nav">
                        </div>
                </div>
                            <asp:ContentPlaceHolder ID="LeftMenu" runat="server"></asp:ContentPlaceHolder>
                    
                <div id="disclosure">
                    <div class="nav_title"></div>
                        <div class="nav">
                        <ul>
                            <li class="nav_area"> <asp:Label ID="Disclosure" runat="server" Text="<%$ Resources: OLC, Disclosure %>" /></li>
                        </ul>
                    </div>
                </div>
                  
                 <div id="weather">
                  <div class="nav_title">
                         <asp:Label ID="Weather" runat="server" Text="<%$ Resources: OLC, Weather %>" />
                        <asp:Label ID="WeatherContent" runat="server" Text="<%$ Resources: OLC, WeatherContent %>" />
                  </div>
                </div>
                  
             </div>
               
    <!-- Center Column -->
      
             <div id="center">   
                <div id="content">
                  <asp:ContentPlaceHolder ID="contentarea" runat="server"></asp:ContentPlaceHolder>
              </div>
              </div>
                
               
    <!-- Right Column -->
                 
             <div id="right">
                 <div id="search">
                    <div class="nav_title">
                         <asp:Label ID="LocalSearch" runat="server" Text="<%$ Resources: OLC, LocalSearch %>" />
                    </div>
                    <asp:ContentPlaceHolder ID="searchbox1" runat="server"></asp:ContentPlaceHolder>
                </div>
                <div id="right_menu_home2">
                    <div class="nav_title">
                        <div class="nav_text"><asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"></asp:ContentPlaceHolder></div>
                    </div>
                </div>    
                            <asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server"></asp:ContentPlaceHolder>
                  
                <div id="right_menu_home3">
                    <div class="nav_title">
                        <div class="nav_text"><asp:ContentPlaceHolder ID="ContentPlaceHolder3" runat="server"></asp:ContentPlaceHolder></div>
                    </div>
                </div>
                            <asp:ContentPlaceHolder ID="ContentPlaceHolder4" runat="server"></asp:ContentPlaceHolder>
                  
                <div id="right_menu_home4">
                    <div class="nav_title">
                        <div class="nav_text"><asp:ContentPlaceHolder ID="ContentPlaceHolder5" runat="server"></asp:ContentPlaceHolder></div>
                    </div>
                </div>    
                            <asp:ContentPlaceHolder ID="ContentPlaceHolder6" runat="server"></asp:ContentPlaceHolder>
                  
            </div>
              
    <!-- Footer -->
                 
          <div id="footer">
              <div id="footer_area">
                    <div id="footer_splitter"></div>
                    <asp:Label ID="ContactUS" runat="server" Text="<%$ Resources: OLC, ContactUS %>" />
                    <asp:Label ID="TopofPage" runat="server" Text="<%$ Resources: OLC, TopofPage %>" />
                    <asp:Label ID="Notices" runat="server" Text="<%$ Resources: OLC, Notices %>" />
                </div>
      </div>
        
            </div>
      
    </div>
      
    <!-- End Body -->
    </form>
    </body>
    </html>
  • Hi Chris, are there any errors reported in the migration log or Sitefinity error log of either site (in the app_data folder)?

    Also, have you copied the actual files from the 3.7 website into your new Sitefinity 5 website? the files are not copied by the migration tool, and need to be manually copied over.

    The only other thing I can see perhaps is the Resources used for some of the text labels. Can you try removing these for the migration and adding them back again?

    hope this is helpful!
  • The only error I get is that the related master page failed to load.

    I've moved over all the files properly, and I will try removing the resources here shortly and see where that gets me.

    *UPDATE*

    I've deleted all the resource lines and it migrates properly. The only problem is the page looks like junk and I need those resources to funtion properly.

    How can I fix this issue? Why does 3.7 allow these lines of code, but 5.0 doesn't?