Copied to clipboard

Flag this post as spam?

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


  • Boyan Petrov 1 post 71 karma points
    17 days ago
    Boyan Petrov
    0

    Moving Umbraco Local Project to another machine

    Hi, Can someone please explain me the process of moving an Umbraco local project to another pc?

    I've copied the folder to the new pc, I've created a backup file of my database so I can restore it on the new machine and I just can figure out what's the next step.

    I get this error: enter image description here

  • Marc Goodson 1204 posts 8074 karma points MVP 5x c-trib
    17 days ago
    Marc Goodson
    0

    Hi Boyan

    Several things could be awry here, but it's literally what the error message says, the details in the connection string in the web.config of your Umbraco application, can't successfully be used to connect to the database in it's new location.

    Usually this will be because the login name in the connection string, is created for the server, rather than the database, and so if you've restored your db to a new server, the account will be 'orphaned',,,

    https://medium.com/geopits/identify-and-fix-the-orphaned-users-in-sql-server-536e750e798e

    or you could create a new login on the new server and grant access to the Umbraco database, and use this in the connection string...

    If you are still having problems try to connect using Sql enterprise manager to the database using the credentials from the web.config... may give more information as to why the connection isn't being made.

    regards

    Marc

Please Sign in or register to post replies

Write your reply to:

Draft