Can not find VCS root for the item

Hi

I get this error when I tried to do a Remote Run

* Clearing temporary directory: C:\TeamCity\buildAgent\temp\buildTmp[
12:25:28] Checkout directory: C:\Proyectos\demotc\src
Clean build enabled: removing old files from C:\Proyectos\demotc\src[12:26:00] Loading changed files from server...
Updating C:\Proyectos\demotc\src
Can not find VCS root for the item 'http://192.168.1.8:8080/$/Microfinanzas.Net/Microfinanzas/dev/src/BusinessEntities/Common/Criteria.cs' in the build configuration. Item was skipped.
Clean directory C:\Proyectos\demotc\src\src\Windows.Services
Error while applying patch: No matched files found in personal change
Paths to publish:
Publishing artifacts '*.dll' to C:/Proyectos/demotc/bin
Artifacts path .dll not found[12:26:28] Build finished

I have the following scenario

TeamCity Enterprise 3.1.1
Last Plugin TeamCity for VS

VisualStudio 2005 / Team Explorer 2005
Team Foundation Server 2008

I configured this: add property agent.save.patch=true to the build configuration properties: Administration->Edit configuration->Properties and requirement variables->Add new property...

This is a extract of a local log founded at <username-profile-folder>\Local Settings\Temp\JetLogs (I don't know where is DelayedCommit.Settings.xml file)

11:14:21 AM.827: Thread:1: Firing ActiveChanged for Active=True.
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at JetBrains.TeamCity.RemoteRun.Impl.DelayedCommitPersistanceImpl.DeserializeInternal(String file) in c:\Agent\work\5cc5125fd95a9d26\vs-addin\addin\TeamCity.RemoteRun\src\Impl\DelayedCommitPersistanceImpl.cs:line 141
-


*11:14:23 AM.408: Thread:1: Currupted settings file C:\Users\eortuno.INNOVAINTER\AppData\Roaming\JetBrains\TeamCity.3.0
DelayedCommit.Settings..v1.xm
l*----


11:14:25 AM.136: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\xml\Schemas\adrotator.xsd'.
11:14:25 AM.180: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\xml\Schemas\adrotator1_0.xsd'.
11:14:25 AM.191: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Policy\Schemas\TDLSchema.xsd'.
11:14:25 AM.192: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Policy\Schemas\Policy.xsd'.
11:14:25 AM.192: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\xml\schemas\1033\snippetformat.xsd'.
11:14:25 AM.192: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\xml\schemas\1033\vstemplate.xsd'.
11:14:25 AM.193: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\xml\schemas\1033\Microsoft.Build.xsd'.
11:14:25 AM.193: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\xml\schemas\1033\vscontent.xsd'.
11:14:25 AM.193: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\common7\packages\SDM\Schema\SystemDefinitionModel.xsd'.
11:14:25 AM.201: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\xml\Schemas\catalog.xsd'.
11:14:25 AM.204: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\xml\Schemas\DataSource.xsd'.
11:14:25 AM.206: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\xml\Schemas\declarativeconditionsxoml.xsd'.
11:14:25 AM.208: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\xml\Schemas\DotNetConfig.xsd'.
11:14:25 AM.210: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\xml\Schemas\msdata.xsd'.
11:14:25 AM.212: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\xml\Schemas\msxsl.xsd'.
11:14:25 AM.214: Thread:15: Reloading schema 'C:\Program Files\Microsoft Visual Studio 8\xml\Schemas\Package.xsd'.


I founded too a set of changes at .BuildServer\system\changes
this contains my changes proposeds but too a header line like this

tfs://http://192.168.1.8:8080/$/Microfinanzas.Net/Microfinanzas/dev/src/BusinessEntities/Common/Criteria.cs

1. How can I solve this?
2. this url is valid? tfs://http://192.168.1.8:8080/$/Microfinanzas.Net/Microfinanzas/dev/src/BusinessEntities/Common/Criteria.cs
I can't browse that element
3.Where is
DelayedCommit.Settings..v1.xm file?

Thanks

Edited by: Enrique Ortuño on Jul 9, 2008 8:31 PM

3 comments

This is the file patch file at BuildServer\system\changes directory



Attachment(s):
178.changes
0

1.
What url is used in the VCS root settings in TeamCity. You have to use the same url for TFS client to developer machine and on the server to be able to use RemoreRun/Pretested commit.
We have an issue on that at http://www.jetbrains.net/tracker/issue/TW-5362, please watch/vote for it.


2. That name is not the file url, it is just TeamCity VCS independent internal format for naming changed files. It is used to map the change to the build configuration layout (with regard to checkout rules).

3. On Windows XP it could be found at c:\Documents and Settings\]]>\ApplicationData\JetBrains\TeamCity*

Thanks.

Edited by: Eugene Petrenko on Jul 14, 2008 2:11 PM

0

Yes the problem was fixed I only configured my servername address same for all configurations.

Thanks

0

Please sign in to leave a comment.