| Author |
Message |
ciaranarcher
Joined: 24 Jun 2011 Posts: 21
|
Posted: Tue Jul 19, 2011 9:04 am Post subject: Error trying to sync from command link |
|
|
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:
| Code: |
sqlcompare /scripts1:"C:\prog\temp-svn\BR\trunk" /database2:BR /sync
|
Error:
| Code: |
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 |
|
| Back to top |
|
 |
james.billings
Joined: 16 Jun 2010 Posts: 840 Location: My desk.
|
Posted: Wed Jul 20, 2011 4:25 pm Post subject: |
|
|
Usually, that error would mean that it's finding duplicate definitions. A quick DOS command may help find possibles.... open up a command prompt, navigate to the folder (C:\prog\temp-svn\BR\trunk) then try the following:
findstr /S /C:"CREATE USER xxxxxxxx" *.*
Obviously replace the xxxxxxx with the username. See if that gives multiple matches. |
|
| Back to top |
|
 |
ciaranarcher
Joined: 24 Jun 2011 Posts: 21
|
Posted: Thu Jul 21, 2011 8:44 am Post subject: Re: |
|
|
Hi James
Yep, I got 2x matches ! It seems that dir was a little corrupted. Fixed up now.
Many thanks for your help!
| james.billings wrote: |
Usually, that error would mean that it's finding duplicate definitions. A quick DOS command may help find possibles.... open up a command prompt, navigate to the folder (C:\prog\temp-svn\BR\trunk) then try the following:
findstr /S /C:"CREATE USER xxxxxxxx" *.*
Obviously replace the xxxxxxx with the username. See if that gives multiple matches. |
|
|
| Back to top |
|
 |
|
|
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