Fieldmapping not valid for MatchingMappings
cmdcom
Posts: 2
Hey now,
I receive this error when I perform a data comparison (v8.0.2.5). SQL Compare shows some minor differences in the table schemas (slightly different indexes, constraints, etc.), but no major column differences. In the 'Object Mapping' tab, all the tables statuses' are listed as 'Mapped'. I turned on verbose logging but it contained nothing useful, just some start/finish SaveToDisk activity.
The kicker is that if I un-check everything in the 'Tables & Objects' tab, I still incur the same error. At wit's end. TIA
I receive this error when I perform a data comparison (v8.0.2.5). SQL Compare shows some minor differences in the table schemas (slightly different indexes, constraints, etc.), but no major column differences. In the 'Object Mapping' tab, all the tables statuses' are listed as 'Mapped'. I turned on verbose logging but it contained nothing useful, just some start/finish SaveToDisk activity.
The kicker is that if I un-check everything in the 'Tables & Objects' tab, I still incur the same error. At wit's end. TIA
This discussion has been closed.
Comments
I believe that we're working with you on this one via the email that you had also sent in. If we reach a solution to the problem, I will update this forum topic and let everyone know what the fix is.
We never did get to the bottom of this and Nate ended up using SQL replication instead of SQL Data Compare.
I've just done a visual check between the old non working file and the new one, everything looks pretty much the same, except for the "TableActions" section of the xml file. Old non working file has 134 'value' s , the new one only 32. I haven't gone into any of the details as yet..
I can send the files to someone if they are interested?
then every so often when you go into the SQL data compare and try running its gets this error.
Yesterday the events ran a little like this:
run SQL compare to bring our UAT inline with the DEV database.
used SQL compare to apply the changes, was only 3 columns that had been added to a table in DEV, so the compare script was just to add these to the UAT table
Run SQL data compare to check for static data changes.
error!
now the table that had the DDL changes, is not a table that is actually selected for the data compare ? so why would you get fieldmappings suddenly becoming invalid? is there some refresh problem in data compare when the DDL has been updated?
Our standard way to roll changes out now is to use SQL compare to sync the DDL between the two, then run SQL data compare on a subset of tables (all fairly static lookup tables) to sync up any data changes.
Usually works very well, but every so often this problem pops up and it just makes it a pain to recreate the data compare project, espiecally as I have to go through and reselect only the tables we want and switch to some custom keys.
If you could improve the actual error data compare is returning to tell what field mappings are invalid that it would certainly help! the logs are useless for trying to gleam anything either from what I've seen.
I am therefore locking this topic.