Error trying to sync from command link
ciaranarcher
Posts: 28
Hi there
I can link and sync a particular database just fine in SSC2, but when I try to do the same from the command line, I get an error:
Command:
I have tried unlinked and relinking the datasource to no avail. I have tried to look for duplicate files in the repo creating that user, but could not find a culprit.
Can someone please help?
Many thanks in advance.
Ciaran
I can link and sync a particular database just fine in SSC2, but when I try to do the same from the command line, I get an error:
Command:
sqlcompare /scripts1:"C:\prog\temp-svn\BR\trunk" /database2:BR /syncError:
Registering data sources Error: A duplicate definition was found for the user xxxxxx. Ensure that case sensitivity options are set correctly and all object creation scripts are valid. If the problem persists, contact our support.
I have tried unlinked and relinking the datasource to no avail. I have tried to look for duplicate files in the repo creating that user, but could not find a culprit.
Can someone please help?
Many thanks in advance.
Ciaran
Comments
findstr /S /C:"CREATE USER xxxxxxxx" *.*
Obviously replace the xxxxxxx with the username. See if that gives multiple matches.
Redgate Software
Yep, I got 2x matches ! It seems that dir was a little corrupted. Fixed up now.
Many thanks for your help!