Red Gate forums :: View topic - Cannot Drop Constraint because it enforces full-text key...
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

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

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
dmslabaugh



Joined: 09 May 2014
Posts: 1

PostPosted: Fri May 09, 2014 10:14 pm    Post subject: Cannot Drop Constraint because it enforces full-text key... Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
james.billings



Joined: 16 Jun 2010
Posts: 1144
Location: My desk.

PostPosted: Tue May 13, 2014 6:25 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group