1. make sure that both SQL SERVER (WINCC) and SQL SERVER AGENT (WINCC) services are started (automatically).
2. copy your project to wincc default projects folder.
3. Manually, add "SIMATIC HMI" & "SIMATIC HMI VIEWER" to your project folder groups or usernames by:
right click in your project folder, properties, security tap, click on "edit" under groups or usernames, then add, then type the A/M into the box off-curse one by one
4. remove read only from the main project name folder, by right click in your project folder, properties, then remove read only check.
5. inside your project folder, delete files as following:
projectname.lck
projectname.dc
projectname.dcf