Regarding Circular reference and linkage

S

Sathish

Hi,

I have 7 project files of 1000 lines each which are linked
together(predecessor). I normally back up the files every week and
keep it in a back up folder. For some reason, now one of my current
schedule is linking to the files in the back up folder and also giving
Circular refrence error.
Since it is a huge plan and there are so many links, I can not edit
each and every link, because the task numbers are different for the
latest files comared to the back up files.

Is there any easy way to fix it ? Also how to avoid circular reference
problem.

Note : I dont have a master schedule having all the plans together.


Thank You

Regards,
Sathish
 
R

Rod Gill

If I was doing this I would create a VBA macro to scan thru all links
searching for a file in the backup folder. I would then change to use master
file.

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com
 
D

Dean C

Corrupt files will give erroneous circular relationship error messages. If
you have files that were originally created in MS Project 2003 and you are
now using 2007, you probably have corrupt files.

To start testing for a circular relationship, build a consolidated schedule.
Expand the consolidated schedule to show all tasks then open the Network
Diagram view. If you can see a network diagram, you do not have a circular
relationship. I have an Excel file that is supposed to identify circular
relationships, but I have not tested it. I can email it to you if you want to
try it.

Here's a manual method of indentifying files included in a circular
relationship. From the consolidated schedule where you can't view the network
diagram, delete one inserted project then try viewing the network diagram. If
you can see the network diagram, then the last file deleted is included in
the circular logic. Undo the delete then delete another inserted project and
display the network diagram. Repeat for all files. You will probably find
that at least three files are included in the circular logic. If this
technique does not identify any files, you have multiple circular paths. For
multiple circular paths, leave the files deleted from the consolidated
schedule. In a new file, insert two of the identified files and view the
network diagram. If you can't view the network diagram, in one file, collapse
half of the summary tasks and view the network diagram. If you can view the
network diagram, at least one task that is now hidden is included in the
circular logic. You should be able to identify one task included in the
circular logic within ten reductions of the task population. Once you find
one task, try using the relationship diagram to trace the logic from that
task.

Please describe the method you are using to back up your files. If you have
two linked files open and use "save as" to back up one of the files, then
save the linked file back to the server, you can create cross linked files.
You probably still have the link to the original file that you "saved as", so
you should be able to break the link to the backed up file without losing
anything. In a task table insert the project field and find the external task
that is in a backup file. Split the screen, right mouse click on the Task
Form and select Predecessors and Successors. In the top window, go to the
task that the backup task is linked to and verify that the description for
the backed up task is duplicated in the Task Form. If so, in the top pane,
insert uniqueid predecessors or uniqueid successors as appropriate. Verify
that the UniqueId is the same for the on- and off-server tasks. You can
safely delete the off server link once verified.

To avoid circular relationships, avoid summary task logic, negative lag and
set the option to show the links between projects dialog box on file open.
Use begin and end milestones instead of summary task logic, or link directly
to subordinate tasks. If you must have summary logic, if you have
predecessors to summary tasks, do not have any predecessors to subordinates
of those summary tasks. If you have successors to summary tasks do not have
successors to subordinates of those summary tasks. When the links between
projects dialog box opens, you have two files out of synch. Be sure to
resolve the differences then save all involved files before closing any.
 
M

Mike Mahoney

Corrupt files will give erroneous circular relationship error messages. If
you have files that were originally created in MS Project 2003 and you are
now using 2007, you probably have corrupt files.

To start testing for a circular relationship, build a consolidated schedule.
Expand the consolidated schedule to show all tasks then open the Network
Diagram view. If you can see a network diagram, you do not have a circular
relationship. I have an Excel file that is supposed to identify circular
relationships, but I have not tested it. I can email it to you if you want to
try it.

Here's a manual method of indentifying files included in a circular
relationship. From the consolidated schedule where you can't view the network
diagram, delete one inserted project then try viewing the network diagram.. If
you can see the network diagram, then the last file deleted is included in
the circular logic. Undo the delete then delete another inserted project and
display the network diagram. Repeat for all files. You will probably find
that at least three files are included in the circular logic. If this
technique does not identify any files, you have multiple circular paths. For
multiple circular paths, leave the files deleted from the consolidated
schedule. In a new file, insert two of the identified files and view the
network diagram. If you can't view the network diagram, in one file, collapse
half of the summary tasks and view the network diagram. If you can view the
network diagram, at least one task that is now hidden is included in the
circular logic. You should be able to identify one task included in the
circular logic within ten reductions of the task population. Once you find
one task, try using the relationship diagram to trace the logic from that
task.

Please describe the method you are using to back up your files. If you have
two linked files open and use "save as" to back up one of the files, then
save the linked file back to the server, you can create cross linked files.
You probably still have the link to the original file that you "saved as", so
you should be able to break the link to the backed up file without losing
anything. In a task table insert the project field and find the external task
that is in a backup file. Split the screen, right mouse click on the Task
Form and select Predecessors and Successors. In the top window, go to the
task that the backup task is linked to and verify that the description for
the backed up task is duplicated in the Task Form. If so, in the top pane,
insert uniqueid predecessors or uniqueid successors as appropriate. Verify
that the UniqueId is the same for the on- and off-server tasks. You can
safely delete the off server link once verified.

To avoid circular relationships, avoid summary task logic, negative lag and
set the option to show the links between projects dialog box on file open..
Use begin and end milestones instead of summary task logic, or link directly
to subordinate tasks. If you must have summary logic, if you have
predecessors to summary tasks, do not have any predecessors to subordinates
of those summary tasks. If you have successors to summary tasks do not have
successors to subordinates of those summary tasks. When the links between
projects dialog box opens, you have two files out of synch. Be sure to
resolve the differences then save all involved files before closing any.










- Show quoted text -

Sathish

just to add a couple of comments to the above:

1) renaming the backup folder will immediately show disconnects using
Tools|Link between Projects dialogue
2)See this blog:
http://www.domorethanmanage.com/articles/2008/05/29/Resolvingcircularreferenc.html
3)Why don't you use Project Server backup database rather than current
process?

regards

Mike
 
D

Dean C

I checked out your blog for resolving circular relationships. I like the
concept but you should use Unique ID Predecessors in a consolidated schedule
instead of predecessors and you should not delete predecessors from any task
that has content of more than 254 characters. You need to use Unique ID
Predecessors because phantom tasks created as a result of creating
cross-project links may end up with a different ID when you paste the
predecessors back, putting all subsequent logic at risk. Although the
Predecssors field can contain more than 254 characters, you cannot paste more
than 254 characters.
 
S

Sathish

Hi,

Thank you for all your response. I am trying to resolve by copying
all the predecessors to the text field and putting it back one by one.
Since I dont have a project server. We put the files in the netwok
drive (shared directory) and update the plan.

Thank You

Regards,
Sathish
 
G

Gary L. Chefetz [MVP]

Sathish:

Jack Dahlgren has a macro that you can use to help trace this available on
his macro repository site at:

http://www.masamiki.com/project/index.htm

--

Gary L. Chefetz, MVP
MSProjectExperts
For Project Server Consulting: http://www.msprojectexperts.com
For Project Server FAQS: http://www.projectserverexperts.com


Hi,

Thank you for all your response. I am trying to resolve by copying
all the predecessors to the text field and putting it back one by one.
Since I dont have a project server. We put the files in the netwok
drive (shared directory) and update the plan.

Thank You

Regards,
Sathish
 
S

ST

Circular references can be caused by just two files. If after the
subproject(s) are linked, if you just a subproject and start messing around
with the internal links you could cause a circular relationship without even
knowing it. You'll only be informed when you try to open the master. The
rule should be that after you set your external links do not do any more
internal linking unless it is in a master that contains all dependent files.


This is my pet peeve of MS Project.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top