Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bobi 346 posts 950 karma points
    Apr 10, 2022 @ 02:43
    Bobi
    0

    What are recommendations on how to host an umbraco site after locally developing in Visual Studio 2019. A staging site would also be ideal. Hosting seems very daunting when wanting to set up staging and production. Any recommendations would be greatly appreciated.

  • Yakov Lebski 553 posts 2117 karma points
    Apr 11, 2022 @ 03:31
    Yakov Lebski
    0

    You can publish your website using publish profile and upload it to production server

  • Bobi 346 posts 950 karma points
    Apr 12, 2022 @ 16:20
    Bobi
    0

    I am getting an error indicating that the web.config cannot be empty in umbraco forms.

  • Yakov Lebski 553 posts 2117 karma points
    Apr 15, 2022 @ 03:15
    Yakov Lebski
    100

    in you publish profile (file pubxml) remove MSDeployParameterValue

  • Bobi 346 posts 950 karma points
    Apr 15, 2022 @ 03:33
    Bobi
    0

    Thanks! I am not sure why but it helped. How do you publish the sql database? Through Visual Studio?

  • Yakov Lebski 553 posts 2117 karma points
    Apr 15, 2022 @ 04:05
    Yakov Lebski
    1

    if it regular SQL server you have 3 ways to do it

    1. Generate backup (.bak) on local server, transfer and restore on hosting
    2. Generate export(.bacpac) on local server and import on hosting
    3. Generate script structure + data and run it on hosting
  • Bobi 346 posts 950 karma points
    Apr 15, 2022 @ 04:35
    Bobi
    0

    Thank you! I was confused because I thought visual studio had a way when you publish but it seems less predictable.

    I am trying to learn about uSync too because I think that can assist with exporting the database too.

  • Yakov Lebski 553 posts 2117 karma points
    Apr 15, 2022 @ 11:58
    Yakov Lebski
    0

    usync can help too, just be careful with content changes after the first transfer, you can lose it by mistake

Please Sign in or register to post replies

Write your reply to:

Draft