Cannot Drop Constraint because it enforces full-text key...

Compares and synchronizes SQL Server databases, backups and scripts.

Moderators: JonathanWatts, Chris Auckland, David Atkinson, eddie davis, Anu Deshpande, Michelle Taylor, alice.easey, james.billings, chengvoon.tong

Cannot Drop Constraint because it enforces full-text key...

Postby dmslabaugh » Fri May 09, 2014 10:14 pm

I am receiving the following error when running the Automation Pack. When generating the script with sql compare, everything deploys. It is only with the automation pack that I have the problem.


Cannot drop index
'PK_table_product' because it enforces the full-text key for table or indexed
view 'table_product'. Could not drop constraint.


Here is the command:

SQLCompare.exe /include="Identical" /include="StaticData" /scripts1="C:\\Users\\svc-tfsbuilder\\AppData\\Local\\Temp\\ugxnwl2w.ln5\\db\\state" /server2="dc1wdmtodb01\\tog_ci" /database2="tog" /synchronize /include="staticdata" /LogLevel="Verbose" /Out="d:\\Builds\\3\\OnePPSource\\RedGateTest\\bin\\ppoe_sqlCI.log" /ScriptFile="d:\\Builds\\3\\OnePPSource\\RedGateTest\\bin\\ppoe_sqlCI.sql" /Report="d:\\Builds\\3\\OnePPSource\\RedGateTest\\bin\\ppoe_sqlCI.html" /ReportType="Interactive" /force /filter="mto\\schema\\filter.scpf" /o="IgnoreFillFactor,IgnoreWhiteSpace,IgnoreWithElementOrder,IgnoreExtendedProperties,IgnorePermissions,IgnoreStatistics,IgnoreSystemNamedConstraintNames,IgnoreUsers,IgnoreUsersPermissionsAndRoleMemberships,IgnoreFullTextIndexing"


Any assistance would be appreciated.
dmslabaugh
 
Posts: 1
Joined: Fri May 09, 2014 10:07 pm

Postby james.billings » Tue May 13, 2014 6:25 pm

The automation pack is still running Compare, so in theory the end result should be the same.

I'd probably begin by verifying that when you tested with Compare you used exactly the same source/target. In addition, check that you were using the same options as the automation command line is passing, and that you also included the same filter file (you'll need to load the filter into the Compare GUI)

The actual error you got looks like we were trying to drop something that SQL Server didn't allow as it was in use, so this may indicate a missing dependency when it's run through the automation side of things
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.


Return to SQL Compare 10

Who is online

Users browsing this forum: No registered users and 1 guest