| Author |
Message |
valthor
Joined: 30 Jul 2012 Posts: 2
|
Posted: Fri Aug 03, 2012 8:59 pm Post subject: Script folder contains circular object references |
|
|
I have a couple of MSSQL 2008 R2 databases linked together via RedGate Source Control and TFS. I'm using one as a developement server and commiting changes from it to the Source Control repository ( TFS ). The other one is the test server, where I fetch any changes occuring in the source control, via the Get Latest tab.
This has been functioning very well for around 6 months, but now all of a sudden, I'm getting the following error from Source Control, when trying to run the Get Latest operation :
[b]Script folder contains circular object references. Such databases cannot be created. Please ensure the source scripts define a consistent database schema[/b]
Please advise, as dependent as I have become on the Source Control, this is a big problem. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Mon Aug 06, 2012 2:10 pm Post subject: |
|
|
SQL Source Control is restricting you from creating a database based on scripts because, as it points out, it's impossible for it to work out the order in which the objects should be created.
I think you *may* be able to get around it if you can work out the object names that are involved in this conflict, create them yourself in the database, and then link the database to source control and do the get latest. SQL Source Control will calculate the differences and apply them - if the objects already exist, Source Control should not check them again. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| 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