Strange data compare behavior comparing master db
dwainew
Posts: 59 Bronze 4
Not sure what's going on. I know master is not a usual target for SDC, but certainly not unheard of. Several uses to compare configurations between servers. SDC seems to be in a loop on the tables & views tab.
http://screencast.com/t/g0vsp26DL8A
SDC 11.2.1.82
http://screencast.com/t/g0vsp26DL8A
SDC 11.2.1.82
Comments
RG sql data compare is clearly showing a quick "Cancelling .... something ... " and starting over. Infinite loop. making my expensive software not very useful in this case. I've run into this with a few other comparisons (user databases) since I noticed this issue on Monday.
SqlCompareException: A duplicate object name has been found. This may occur if the SQL Server that you are registering is case sensitive but the case sensitive option is not set.
System.ArgumentException: A duplicate definition was found for [dbo].[Getjobtitle]. Ensure that case sensitivity options are set correctly and all object creation scripts are valid. If the problem persists, contact Redgate support.
at RedGate.SQLCompare.Engine.ReadFromFolder.ObjectInformationFromDictionary.AddMapping(String fullyQualifiedName, Int32 sysobjectID)
at RedGate.SQLCompare.Engine.Registration.ModelFactory.DatabaseFactory.PopulateObjectNames()
at RedGate.SQLCompare.Engine.Registration.ModelFactory.DatabaseFactory.LightWeightPopulate(DBPopulationOptions popOptions)
The server is case sensitive, I'm not sure what the duplicate object is but in the comparison if I select the Options tab and check the "Use case-sensitive object definition" option before selecting the Tables & Views tab then all works ok.
I'm not sure if the case-sensitive option will always be the issue but the verbose logging may help identify the issue. Hope this helps someone.