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

Forums / Set-up & Installation / Upgrade SF 3.0 Beta to SF 3.1

Upgrade SF 3.0 Beta to SF 3.1

10 posts, 0 answered
  1. Beau
    Beau  avatar
    8 posts
    Registered:
    18 Apr 2007
    07 Jan 2008
    Link to this post
    Hi, I have an older sitefinity beta 3.0 site and I would like to know what the easiest way to upgrade it to SF 3.1 is? Thanks!
  2. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    08 Jan 2008
    Link to this post
    Hi Beau ,

    Unfortunately, there is no tool to upgrade a project to 3.1 automatically; you would need to do several upgrades. This is necessary because the database is automatically upgraded by each official version and your project would need to go through each one so that it is successfully upgraded to Sitefinity 3.1.

    You need to upgrade your project to :
    • the official 3.0 version of Sitefinity first
    • then upgrade it to Service Pack 2 of 3.0
    • then upgrade it to Service Pack 2 of 3.1
    You could download the versions from your Client.net account.

    All you need to do is install the corresponding version and then create a simple project with it. Then, add your files (the files you have added or have made changes to) to that new project.

    Please contact us if you experience any difficulties.
     
    All the best,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Imran
    Imran avatar
    75 posts
    Registered:
    17 Jan 2007
    08 Feb 2008
    Link to this post
    Hello

    We are currently using version 3.0.1323.1 of sitefinity. Is this version SF3.0 SP1?

    For us to upgrade to the latest, do we install the following:

    1. the official 3.0 version of Sitefinity first
        1. then upgrade it to Service Pack 2 of 3.0
    then upgrade it to Service Pack 2 of 3.1

      Thanks
  4. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    08 Feb 2008
    Link to this post
    Hi Imran,

    Your version is actually 3.0 SP2 developer version. So, you only need to install to Sitefinity version 3.1 Service Pack 2.

    Let us know if you have any problems.

    All the best,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Imran
    Imran avatar
    75 posts
    Registered:
    17 Jan 2007
    08 Feb 2008
    Link to this post
    Thanks Sonya.

    That's what I thought and I've spent the afternoon doing this, but after I have created a new project using the Project Manager wizard, i point it to the existing db. it locates the admins, but when i click "done".. the following error occurs:

    Violation of PRIMARY KEY constraint 'PK_sf_PageBase'. Cannot insert duplicate key in object 'sf_PageBase'.
    The statement has been terminated.

    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.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'PK_sf_PageBase'. Cannot insert duplicate key in object 'sf_PageBase'.
    The statement has been terminated.


    Any idea's what that might be ?
  6. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    11 Feb 2008
    Link to this post
    Hi Imran,

    We are sorry to hear you are having problems upgrading your project. Could you please add the attached assemblies to your bin folder, then create a new project, and open that project in the Sitefinity administration. After that, do the same for the 3.1 SP2 assemblies you already have.

    Please let us know if you still experience any problems.

    Best wishes,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Imran
    Imran avatar
    75 posts
    Registered:
    17 Jan 2007
    11 Feb 2008
    Link to this post

    Hello Sonya

    Thanks for your email. Unfortunately I am still getting the same error. Can you please confirm that the steps that I took are correct:

    1) I copied the new bin files into: C:\Program Files\Telerik\Sitefinity3.1\ProjectManager\bin

    2) Created a new project.

    3) For the newly created project, I replaced the bin files with the ones that you sent.

    4) Open project in Project Manager Administration and pointed it at the db. It found the administrators, but when I clicked "done", it threw up the same error as before.

  8. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    12 Feb 2008
    Link to this post
    Hi Imran,

    You actually do not need to place the new assemblies in the Project Manager bin folder. Please, check the sf_CmsVariables table in the database, and make sure the value of the SchemaVersion variable is equal to the build number of Sitefinity 3.1 SP2 which is 1482. If this is not so, then the upgrade has not been successful and you would need to start again with the upgrading. If the number is the same, please send us your database to investigate it locally.

    Just as a reminder, here are the steps you should follow for an upgrade:

    1.    Install Sitefinity 3.1 SP2.

    2.    Create a new project.

    3.    Click Go to administer the project.  At the first wizard step, you should enter the database connection settings here (to point to the original project database).

    Note that if you are using SQL Express, at the first wizard step, you should copy the .mdf file from your old  App_Data folder to the new project App_Data folder.
    If you are using SQL Server, enter the database connection settings here (to point to the old database).
    If using Windows Authentication, make sure the account that runs the ASPNET process has the appropriate permissions to the database.

    4.    Copy all custom files from your old project to the new project. These include user controls, scripts, images, .css files, .dll files, etc.

    5.    If you have made any modifications in your old project Admin folder and web.config file, add those to the new project.

    6.    Copy your old project .master files to the new project App_Master folder. 

    7.    In each .master file, remove the obsolete <div class="cmsWrapper"> tag that was required in versions prior to 3.1. A form adapter is now used, so you must also replace the <sf1:CmsForm> tag with the standard <form> tag .




    Regards,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  9. Sebastian Menendez
    Sebastian Menendez avatar
    19 posts
    Registered:
    15 Oct 2004
    03 Apr 2008
    Link to this post
    Hi Sonya,

    I'm trying to do the same, only that instead of going to SF 3.1, I want to go to SW 3.2 SP1.

    I did the steps mentioned and upgrade my 3.0 version to 3.1 but the SchemaVersion I end up with is 1473 and not 1482. Should there be anu problems?

    I also tryed testing my existing project under 3.1 and there seems to be a problem with the sites location. My old site was a site and my new temporary one is a virtual directory so all links are messed up. Any ideas?

    Thanks,


    Sebastian
  10. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    09 Apr 2008
    Link to this post
    Hi Sebastian Menendez,

    It is not a problem that your version is 1473.
    As to the problems with the links: please look at the following Troubleshooting article: Broken Image Links after Deploying to a New Server.

    Let us know if you still experience any problems with the upgrade.

    Sincerely yours,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  11. Register for webinar
    10 posts, 0 answered