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

Forums / Developing with Sitefinity / Copying Site on same server

Copying Site on same server

4 posts, 0 answered
  1. Mark
    Mark avatar
    20 posts
    Registered:
    15 Oct 2012
    19 Dec 2012
    Link to this post
    We are trying to copy the production site to a "playground" site on the production server.
    I have copied the site files to a new project directory, copied the database, updated the Project.config and Data.config to the new project and database name.  I have updated the sf_page_node.app_name to the new project name as well.
    The "playground" site is working.  I can load the dashboard and browse back end pages.  

    When i attempt to create a new page using the custom template created on the original site, i get an error stating "There is no template with ID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx".  When i look in the sf_page_templates table the template exists with the id given in the error message.

    If i cancel out of the page creation and go back to create page i get, "You cannot save your changes, becase a page with such URL already exists. Change the page URL and try again".  This happens regardless of the page name's uniqueness.

    I am at my wits end. Please help.

    Mark Fay
  2. Patrick Dunn
    Patrick Dunn avatar
    237 posts
    Registered:
    03 Nov 2014
    24 Dec 2012
    Link to this post
    Hi Mark,

     Thanks for using Sitefinity!

    Please try to remove and re-add your templates. They are using master pages correct? Also why did you change the project name?

    Thanks!

    Regards,
    Patrick Dunn
    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
  3. Mark
    Mark avatar
    20 posts
    Registered:
    15 Oct 2012
    28 Feb 2013 in reply to Patrick Dunn
    Link to this post

    There are no templates in the project.

    We would like to have on the same servers (IIS & SQL) a mirror of a project.

    This would allow for developing against the live code base, without introducing instabilities in the live site.

  4. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    28 Feb 2013 in reply to Patrick Dunn
    Link to this post

    @Mark

    "I have updated the sf_page_node.app_name to the new project name as well"

    You shouldn't need to do this at all, perhaps that's where it's coming from.  I've mirrored lots of sites, and pulled prod local, pushed live, etc etc.

    The only thing you need to change is the data.config...and make sure the "playground" site in IIS points at the playground folder.

4 posts, 0 answered