More in this section

Forums / Developing with Sitefinity / Migration Of Development source code to another computer

Migration Of Development source code to another computer

6 posts, 0 answered
  1. Tim
    Tim avatar
    7 posts
    Registered:
    17 Oct 2012
    26 Mar 2013
    Link to this post
    Hi Sitefinity support,
    I was trying to migrate my sitefinity source code to my computer i couldn't make it work out.
    Here are the step i did on the migration:
    1. I downloaded the source code from TFS
    2. I have backup the DB from Dev Server and restore it in my local desktop/computer.
    3. I changed the connection string at App_Data\Sitefinity\Configuration\DataConfig.config

    After running the source code it returns the message:
    "You see this screen because there are no pages created yet. Login to the backend area and create your first webpage".
    And after clicking the link "Login to the backend" it redirects me to this link. (see screenshot from the attachment)
    http://localhost/?realm=http%3a%2f%2flocalhost%2f&redirect_uri=%2fSitefinityWebApp%2fSitefinity%2fdefault.aspx&deflate=true

    I need to make it run because i need to debug something on the source code. And i won't be able to do my work without debugging the source code.

    Regards,
    Arvin
  2. Veselin Vasilev
    Veselin Vasilev avatar
    23 posts
    Registered:
    27 Jul 2015
    26 Mar 2013
    Link to this post
    Hi Arvin,

    It seems your Visual Studio uses IIS instead of Cassini. Which is fine, but you need to set your IIS so that the localhost site points to the file folder where the project is located. 

    Can you please check if that's the case please?

    Kind regards,
    Veselin Vasilev
    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. Tim
    Tim avatar
    7 posts
    Registered:
    17 Oct 2012
    26 Mar 2013 in reply to Veselin Vasilev
    Link to this post
    Hi Veselin,

    Sorry i'm new to Sitefinity, how will i check that and how will I be able to set IIS?

    Regards,
    Arvin
  4. Tim
    Tim avatar
    7 posts
    Registered:
    17 Oct 2012
    05 Apr 2013
    Link to this post
    Hi Sitefinity/Telerik Guys,

    I was able to setup the IIS but still no luck! When i tried to browse the website  "http://localhost/SitefinityWebApp" this is what's keep appearing.

    "You see this screen because there are no pages created yet. Login to the backend area and create your first webpage"

    And when i click the " Login to the backend" link it redirects me to
    http://localhost/?realm=http%3a%2f%2flocalhost%2f&redirect_uri=%2fSitefinityWebApp%2fSitefinity&deflate=true

    Please help because it's really frustrating now, I've been trying to ask help from you guys for weeks but i felt like you're keep ignoring this issue. 

    Regards,
    Arvin
  5. Jochem Bökkers
    Jochem Bökkers avatar
    787 posts
    Registered:
    13 Aug 2007
    05 Apr 2013 in reply to Tim
    Link to this post
    Hey Arvin,

    If you're really crammed for a deadline, you should put in a support ticket. Although Sitefinity support is active on the forums, its sort of voluntarily without guarantees or deadlines.

    First to get rid of the misconfiguration regarding IIS,
    Open the project in VisualStudio 2012. Right click the SitefinityWebApp, select properties.
    Choose the 'Web' tab and set it to IIS Express.

    If you now run the project it will fire up IIS Express (localhost) instead of using IIS with a misconfigured application.

    ---
    Copy all the .config files (App_Data/Sitefinity/Configuration) from the dev server instead of using the ones from TFS. The db & *.config form a pair, and since you store the .config files in TFS, they're bound to be the blank versions that came with the initial check-in.

    ---
    If things still don't work, you should try downloading Sitefinity ProjectManager from your account and create a new blank/temporary project to compare files and ensure you're not missing files.

    Jochem
  6. Patrick Dunn
    Patrick Dunn avatar
    237 posts
    Registered:
    03 Nov 2014
    09 Apr 2013
    Link to this post
    Hi Arvin,

     If you're set on using IIS instead of Cassini to debug your project make sure you follow our IIS installation guidelines. You can find them here. It's not much different from setting up IIS with any other .NET 4 ASP.NET application but it does outline the steps required to get this working.

    If you're simply trying to debug your code I would follow Jochem's suggestion on using IIS Express either through Visual Studio or the Project Manager.

    All the best,
    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
6 posts, 0 answered