Try Now
More in this section

Forums / Set-up & Installation / Removing Version from Install Directory

Removing Version from Install Directory

2 posts, 0 answered
  1. Armysniper
    Armysniper avatar
    126 posts
    03 Mar 2005
    23 Dec 2009
    Link to this post
    When I installed SiteFinity I went with the default setup directory which created a SiteFinity 3.6 directory. I am creating a new development machine and would like to copy over my project but it has tons of references to the SiteFinity 3.6 directory. How can I properly change this in my project and ensure I have hit all locations? Is it only in the web.config?
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    23 Dec 2009
    Link to this post
    Hello Armysniper,

    Thank you for using our services.

    There should not be references to the parent directory your website is created, if you are using relative links with ~ notation. The ~ would resolve urls to the root path of your website. For example if you have added user controls to your toolbox in the web.config the property would be set as url="~/pathtousercontrol". Also by default Sitefinity does use dynamic links so links on your site should not break too since paths should be automatically resolved. If you have added references to other projects when you need to move to the new development environment you might need to fix the reference paths so that your project finds those references. You might need to fix the connection string to you database since you will be moving to a different environment you would probably use a different DB server for your DB.

    You can test this by simply creating the sample Telerik University site from Project Manager. Then copy the website created in Sitefinity3.6\WebSites folder to an arbitrary location. Go to IIS select add new application and add the just copied website. You will see that the website will run as it should.

    If you have any particular references to the Sitefinity3.6 folder could you, please tells what are those references. This will help us come up with some suggestions on how to fix them when moving to different environments.

    All the best,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered