SSDT Publish errors on Creating Publish Preview

前端 未结 3 880
遇见更好的自我
遇见更好的自我 2021-02-04 06:47

I am using Visual Studio 2013 to manage a .sqlproj file containing our database schema. The schema has been deployed successfully dozens of times.

When attempting to pub

3条回答
  •  故里飘歌
    2021-02-04 07:16

    The issue may also be caused prepending a database object with the wrong schema. For instance a table being referenced within a stored procedure SQL statement and the table being prepended with an incorrect schema name.

    Additionally, we had some permissions for a specific security group that once we removed the solution would build again. In order to troubleshoot the error perform a schema compare of the project code and the target database. Remove differences from the database until the publish functionality works. The last item that you removed from the database is your culprit.

提交回复
热议问题