Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Dropping of replication failing during database deployment

$
0
0

Hi

I created a drop replication script which works when you run it manually on SQL Server.

When my colleagues are doing a database deployment the dropping of replication fails.

it gives error SQL72035 the full error is as follows

C:\Windows\system32>"C:\Program Files (x86)\Microsoft SQL Server\110\DAC\bin\Sql
Package.exe" /a:script  /SourceFile:"D:\DBFiles\**********.dacpac" /Profile:"D:\DBFiles\*******\SysTest.Update.publish.xml" /op:"D:\SQLScripts\update_tracke
r.sql"
Generating publish script for database '********' on server 'TESTDTASQL01.FOXTEST
.PROG'.
*** The object [********] exists in the target, but it will not be dropped even t
hough you selected the 'Generate drop statements for objects that are in the tar
get database but that are not in the source' check box.
*** The object [Tracker_log] exists in the target, but it will not be dropped ev
en though you selected the 'Generate drop statements for objects that are in the
target database but that are not in the source' check box.
*** Verification of the deployment plan failed.
Warning SQL72012: The object [*******] exists in the target, but it will not be
dropped even though you selected the 'Generate drop statements for objects that
are in the target database but that are not in the source' check box.
Warning SQL72012: The object [******_log] exists in the target, but it will not
be dropped even though you selected the 'Generate drop statements for objects t
hat are in the target database but that are not in the source' check box.
Error SQL72035: [dbo].[EventHandlerWorkflows] is replicated and cannot be modifi
ed.
Error SQL72035: [dbo].[Teams] is replicated and cannot be modified.

From searching it is due to the DACPAC which can't handle replication - the error message above does seem to look at a DACPAC

Can anyone explain if that seems to be correct?

Regards


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>