difficulties when creating area paths

Oct 22, 2012 at 4:01 PM
Edited Oct 22, 2012 at 4:06 PM


I'm having very very slow execution time on my VM followed by an error (see below), this happens only when I set the option to create area paths automatically.

This works sometimes for a very few test cases, but generally slows down and crashes.

To figure out,I recompiled locally, the tool was just sleeping in the WaitForTreeNodeId method. My VM is TFS 2010 SP1...

I also created a unit test project to try the AreaAndIterationPathCreator->Create method

I also get an exception at the following code line :

parentUri = m_css.CreateNode(node, parentUri);

System.Web.Services.Protocols.SoapException: Cannot insert duplicate key row in object 'dbo.tbl_nodes' with unique index 'uq_nodes_parent_name_project_type'. The duplicate key value is (f85d799d-d0f9-47ff-b76c-45c6be4417f5, 8060334d-fef1-442c-8076-2e5bb9a38fdd, TestImport2, ProjectModelHierarchy).
Error 450005, severity 16, state 1 was raised, but no message with that error number was found in sys.messages. If error is larger than 50000, make sure the user-defined message is added using sp_addmessage.

Can you help me with this ?




(edit: explained the whole thing better)