Red Gate forums :: View topic - Linking existing database to SVN gives circular reference
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Source Control 1
SQL Source Control 1 forum

Linking existing database to SVN gives circular reference

Search in SQL Source Control 1 forum
Post new topic   Reply to topic
Jump to:  
Author Message
GilesMiddleton



Joined: 04 Oct 2010
Posts: 2
Location: London

PostPosted: Mon Oct 04, 2010 10:59 am    Post subject: Linking existing database to SVN gives circular reference Reply with quote

I added an existing database to an SVN repository, that was seamless. I then tried to link another existing database to that same repository i just created. The Link was ok, but the Get Latest gave this error;-

"Script folder contains circular object references. Such databases cannot be created. Please ensure the source scripts define a consistent database schema"

The full error message details are not too helpful.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6588

PostPosted: Wed Oct 06, 2010 4:43 pm    Post subject: Reply with quote

Hello Giles,

Do you mean to say you have put two databases into the same folder of source control? I don't think that's a good idea, as some objects may have the same name, etc. The error message will probably be different depending on the inconsistency produced by taking this action.
Back to top
View user's profile Send private message
GilesMiddleton



Joined: 04 Oct 2010
Posts: 2
Location: London

PostPosted: Thu Nov 04, 2010 3:20 pm    Post subject: Still getting Circular Ref errors Reply with quote

Hi Brian,

Perhaps i was not clear, I have Development and UAT versions of the same database schema on different servers, both linked to a single SVN folder, via SQL Source Control.

This circular reference error is sporadic and inconsistant. Sometimes it allows updates, commits; other times this error is thrown and i can't access source through SSC.

There is no indication in the SSC log as to what object causes this error.
Back to top
View user's profile Send private message
valthor



Joined: 30 Jul 2012
Posts: 2

PostPosted: Mon Jul 30, 2012 3:30 pm    Post subject: Reply with quote

I'm having the same problem, I can't commit anything to my TFS source control directory
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