Hello @Johan á Rogvi-Hansen ,
Welcome to the MS Q&A platform.
As per the error message, it seems like the Database has already been published to live mode, and when you try to overwrite the live mode, it throws the error message.
To resolve the issue:
Method 1)
Disconnect the Git repository (Connect to the live mode), and delete the existing Database. Once you connect back to Git, you can overwrite the live mode with your publish branch.
Note: when you connect to the Git repository, you can't publish the changes directly from the live mode.
Method 2) (if this is your test DB that can be deleted)
From the collaboration branch(main) delete the DB and then commit(committed changes will reflect on the main branch) and publish(published to workspace_publish branch, which is live mode)
Then you can able to overwrite the live mode(Here, the DB will be deleted)
But if your requirement is to publish the artifacts to the live mode, you do not need to overwrite the live mode every time.
Once you add any artifacts in your Collaboration branch, click on "Publish", all changes will be published to the Live mode.
I hope this helps. Please let me know if you have any further questions.
------------------------------
- Please don't forget to click on
and upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators