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

Forums / 3.x Pre-release forums (retired) / Upgrading from Sitefinity 3.0 beta 3 to RC

Upgrading from Sitefinity 3.0 beta 3 to RC

5 posts, 0 answered
  1. Imran
    Imran avatar
    75 posts
    Registered:
    17 Jan 2007
    28 Feb 2007
    Link to this post
    Hey..

    We are just upgrading versions and have found the info in Sitefinity v3.0 RC1 Update PDF.

    On page 19, when copying the web config code from the PDF, it comes out with page breaks, and code in the wrong order. Could you possbily post the code on pages 19 and 20 into a text file, or in this forum.

    Thanks.
  2. Rebecca
    Rebecca avatar
    536 posts
    Registered:
    24 Sep 2012
    01 Mar 2007
    Link to this post
    Hi Imran,

    Here are the instructions for upgrading.
    1. Copy and replace all files and subdirectories from Admin, bin and Common folders.
    2. Make the following changes to the Web.config file:
    • in <sectionGroup name="telerik">  add

    <section name="news" type="Telerik.News.Configuration.SectionHandler, Telerik.News" requirePermission="false"/>

    <section name="versioning" type="Telerik.Versioning.Configuration.SectionHandler, Telerik.Versioning" requirePermission="false"/>


    • replace <cmsEngine defaultProvider="DefaultContent"> section with:

               <cmsEngine defaultProvider="Generic_Content">

                  <providers>

                      <clear/>

                      <add name="Generic_Content"

         visible="True"

         securityProviderName=""

         allowVersioning="True"

         allowWorkflow="False"

         versioningProviderName=""

         connectionStringName="DefaultNolicsConnection"

         type="Telerik.Cms.Engine.DefaultContentProvider, Telerik.Cms.Engine"

         listTemplate="~/Admin/Templates/GenericContent/ControlPanelList.ascx"

         insertTemplate="~/Admin/Templates/GenericContent/ControlPanelInsert.ascx"

         editTemplate="~/Admin/Templates/GenericContent/ControlPanelEdit.ascx"

         permissionsTemplate="~/Admin/Templates/GenericContent/ControlPanelPermissions.ascx"

         commandPanelTemplate="~/Admin/Templates/GenericContent/CommandPanel.ascx"

         editorTemplate="~/Admin/Templates/GenericContent/EditorTemplate.ascx"

         shareContentDialogTemplate="~/Admin/Templates/GenericContent/NewContentDialog.ascx"

         selectContentDialogTemplate="~/Admin/Templates/GenericContent/SelectContentDialog.ascx"

         contentVersionViewUrl="~/Admin/Templates/GenericContent/ContentVersionView.aspx"/>

                      <add name="News"

         visible="False"

         securityProviderName=""

         applicationName="/News"

         versioningProviderName=""

         connectionStringName="DefaultNolicsConnection"

         type="Telerik.Cms.Engine.DefaultContentProvider, Telerik.Cms.Engine"

         listTemplate="~/Admin/Templates/News/ControlPanelList.ascx"

         insertTemplate="~/Admin/Templates/News/ControlPanelInsert.ascx"

         editTemplate="~/Admin/Templates/News/ControlPanelEdit.ascx"

         permissionsTemplate="~/Admin/Templates/News/ControlPanelPermissions.ascx"

         commandPanelTemplate="~/Admin/Templates/News/CommandPanel.ascx"

         editorTemplate="~/Admin/Templates/News/EditorTemplate.ascx"

         shareContentDialogTemplate="~/Admin/Templates/News/NewContentDialog.ascx"

         selectContentDialogTemplate="~/Admin/Templates/News/SelectContentDialog.ascx"

         contentVersionViewUrl="~/Admin/Templates/News/ContentVersionView.aspx"/>

                  </providers>

                  <metaFields>

    <add key="Generic_Content.Name" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="Name this content" mandatory="True"/>

    <add key="Generic_Content.Description" valueType="LongText" visible="True" searchable="False" sortable="True" defaultValue="Add description here"/>

    <add key="Generic_Content.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>

    <add key="News.Title" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>

    <add key="News.Summary" valueType="LongText" visible="True" searchable="True" sortable="True" defaultValue=""/>

    <add key="News.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>

    <add key="News.Source" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>

    <add key="News.Publication_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue=""/>

    <add key="News.Expiration_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue=""/>

            <add key="News.Thumbnail" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>

                 </metaFields>

          </cmsEngine>

     

    • add these sections:

                <news defaultGenericProvider="News">

                  <genericContentProviders>

                      <add providerName="News"

         publicationDateField="Publication_Date"

         expirationDateField="Expiration_Date"

         thumbnailUrlField="Thumbnail"

         urlRewriteFormat="[Publication_Date]/[Title].aspx"

         urlDateTimeFormat="yy-mm-dd"

         urlWhitespaceChar="-"

         newsListTemplate="~/Common/Templates/News/NewsList.ascx"

         singleNewsTemplate="~/Common/Templates/News/SingleNews.ascx"/>

                  </genericContentProviders>

                </news>

                <versioning defaultProvider="Sitefinity">

                  <providers>

                      <clear/>

    <add name="Sitefinity" type="Telerik.Versioning.DefaultProvider, Telerik.Versioning" connectionStringName="DefaultNolicsConnection" />

                  </providers>

                </versioning>


    •  make sure section <nolics> looks like this:

               <nolics>

                 <connections>

       <add name="DefaultNolicsConnection" 
        
    driver="Nolics.ORMapper.DataProviders.SqlServer2005Provider"

         connectionStringName="Sitefinity" />

                 </connections>

               </nolics>



    Best wishes,
    Rebecca
    the telerik team
  3. Imran
    Imran avatar
    75 posts
    Registered:
    17 Jan 2007
    01 Mar 2007
    Link to this post
    Right thanks for that.. but we are still having some problems. To double check where in the web.config does this code go:

    <news defaultGenericProvider="News">

    currently we have it below

    <cmsEngine defaultProvider="Generic_Content">
    ....
    </cmsEngine>

    When we rebuild the project, we get the following errors:
    Error 101 Unknown server tag 'cc1:ListRoles'. c:\inetpub\wwwroot\BerghausTest\Admin\CmsAdmin\Roles.aspx 9 
    Error 102 Unknown server tag 'cc1:FindUsers'. c:\inetpub\wwwroot\BerghausTest\Admin\CmsAdmin\Roles.aspx 14 


    And on the browser:
    Invalid object name 'sys.indexes'.
    Invalid object name 'sys.tables'.
    Invalid object name 'sys.schemas'.
    Invalid object name 'sys.index_columns'.
    Invalid object name 'sys.columns'.

    Any ideas? Thanks

  4. Rebecca
    Rebecca avatar
    536 posts
    Registered:
    24 Sep 2012
    01 Mar 2007
    Link to this post
    Hello Imran,

    The <news defaultGenericProvider="News"> section should be at the same level as
    <
    cmsEngine defaultProvider="Generic_Content">
    .

    Both should be within the <telerik> section.

    As for the errors you reported, please note that the controls will still be working properly and you can edit their properties. The page will not throw an error and will still be functional.
    We are still working on improving the design time support for controls.

    Regards,
    Rebecca
    the telerik team
  5. Imran
    Imran avatar
    75 posts
    Registered:
    17 Jan 2007
    02 Mar 2007
    Link to this post
    Got it sorted in the end.. we arent using sql 2005.. so the provider should be

            <add name="DefaultNolicsConnection" 
              driver="Nolics.ORMapper.DataProviders.SqlServer2000Provider"
              connectionStringName="Sitefinity" />
Register for webinar
5 posts, 0 answered