Discussion:
After switch from MSSCCI provider to TFS provider - „Unable to get revision from vcs repository..error downloading "the filename"“ + „Error:VCS archive is empty“ [1 Attachment]
Ana Roje Ivančić
2012-11-27 14:09:32 UTC
Permalink
Hello,

I am working with Toad 10.6 and using MSSCCI provider for TFS. Everything works fine. The TFS workspace WORKSPACE_NAME is used properly and I can checkin/checkout objects.

I now need to switch to the default Microsoft Team Foundation Server provider (2005-2010) provider.

After a successful switch to this other provider in Team Coding Settings dialog, I choose the same workspace WORKSPACE_NAME and successfully log into TFS.
The list in Team Coding Viewer is filled (as it was when using the MSSCII provider).
When I try to checkout an object, I am stuck with the known error: „Unable to get revision from vcs repository..error downloading "the filename"“ + „Error:VCS archive is empty“ in the output window.

The discussion about the error was already started here, but no solution was given: http://tech.groups.yahoo.com/group/toad/message/55395
Google gives another related link here http://toadsoft.com/EditionRNs/ToadForOracle/ToadForOracle_11.5_ReleaseNotes.htm that points to this https://support.quest.com/SolutionDetail.aspx?id=SOL74899&category=Solutions&SKB=1
· Title
Error "Unable to get revision from VCS repository" follow by "VCS archive is empty"
· Description
When checking in/out an object with in Toad with Microsoft Team Foundation Server, the following error may occur "Unable to get revision from VCS repository..error downloading "the filename..." with the filename referring to the object that you are trying to check out. In the output window, the you may also receive a message "Error:VCS archive is empty."

Resolution
Select the same workspace if you are logging in as the same schema when using team coding with Microsoft Team Foundation Server.

This explanation is not clear enough for my case! How can I find out which workspace was used/should be used for Microsoft Team Foundation Server provider (2005-2010) provider?
Can I somehow reset the versioning settings for the Microsoft Team Foundation Server provider (2005-2010) provider?
Are there any entries in the TOAD schema or some config files?

I have noticed following in the “Team Coding Object Details” for the same object (see picture) – right click in Team Coding Viewer List.
When accessed through the MSSCII provider (right dialog), all paths are correct.
When I switch to the Microsoft Team Foundation Server provider (2005-2010) provider, the Working directory path is very strange.
It starts with an “\” and the rest is the same as the TFS server path.
For example if my TFS Sever Path were “$/TeamProject/SchemaFolder ” then this working path would be set to ”\TeamProject\SchemaFolder”.
I have tried changing the TFS mappings in the appropriate code control group for the object (remap group) and the working folder is always set according to this rule.

Any suggestions how to get rid of this error?

Thanx, Ana
Stephen Beausang
2012-11-27 14:26:22 UTC
Permalink
Hello Ana,

Toad handles the native TFS support, differently than MSSCI, which explains why you do not get the bug with the MSSCI provider.

There have been a number of bug fixes to TFS support in Toad, since 10.6, mostly related to TFS Workspaces. I think that your problem is likely related to one of those issues.

If you are unable to upgrade Toad. I would attempt the following. Check in or undo all pending changes using Visual Studio. Create a new workspace and logon on to this from Toad.

Hope this helps

Stephen

From: ***@yahoogroups.com [mailto:***@yahoogroups.com] On Behalf Of Ana Roje Ivancic
Sent: Tuesday, November 27, 2012 9:10 AM
To: ***@yahoogroups.com
Subject: [toad] After switch from MSSCCI provider to TFS provider - „Unable to get revision from vcs repository..error downloading "the filename"“ + „Error:VCS archive is empty“ [1 Attachment]


[Attachment(s) from =?windows-1250?Q?Ana_Roje_Ivan=E8i=E6?= included below]
Hello,

I am working with Toad 10.6 and using MSSCCI provider for TFS. Everything works fine. The TFS workspace WORKSPACE_NAME is used properly and I can checkin/checkout objects.

I now need to switch to the default Microsoft Team Foundation Server provider (2005-2010) provider.

After a successful switch to this other provider in Team Coding Settings dialog, I choose the same workspace WORKSPACE_NAME and successfully log into TFS.
The list in Team Coding Viewer is filled (as it was when using the MSSCII provider).
When I try to checkout an object, I am stuck with the known error: „Unable to get revision from vcs repository..error downloading "the filename"“ + „Error:VCS archive is empty“ in the output window.

The discussion about the error was already started here, but no solution was given: http://tech.groups.yahoo.com/group/toad/message/55395
Google gives another related link here http://toadsoft.com/EditionRNs/ToadForOracle/ToadForOracle_11.5_ReleaseNotes.htm that points to this https://support.quest.com/SolutionDetail.aspx?id=SOL74899&category=Solutions&SKB=1
• Title
Error "Unable to get revision from VCS repository" follow by "VCS archive is empty"
• Description
When checking in/out an object with in Toad with Microsoft Team Foundation Server, the following error may occur "Unable to get revision from VCS repository..error downloading "the filename..." with the filename referring to the object that you are trying to check out. In the output window, the you may also receive a message "Error:VCS archive is empty."

Resolution
Select the same workspace if you are logging in as the same schema when using team coding with Microsoft Team Foundation Server.

This explanation is not clear enough for my case! How can I find out which workspace was used/should be used for Microsoft Team Foundation Server provider (2005-2010) provider?
Can I somehow reset the versioning settings for the Microsoft Team Foundation Server provider (2005-2010) provider?
Are there any entries in the TOAD schema or some config files?

I have noticed following in the “Team Coding Object Details” for the same object (see picture) – right click in Team Coding Viewer List.
When accessed through the MSSCII provider (right dialog), all paths are correct.
When I switch to the Microsoft Team Foundation Server provider (2005-2010) provider, the Working directory path is very strange.
It starts with an “\” and the rest is the same as the TFS server path.
For example if my TFS Sever Path were “$/TeamProject/SchemaFolder ” then this working path would be set to ”\TeamProject\SchemaFolder”.
I have tried changing the TFS mappings in the appropriate code control group for the object (remap group) and the working folder is always set according to this rule.

Any suggestions how to get rid of this error?

Thanx, Ana
Ana Roje Ivančić
2012-12-04 12:34:29 UTC
Permalink
Hello Stephen,

You were right about the fact that creating a new workspace would help, but this is just part of the solution.
In my case the issue can be resolved in the following way.

1.
First create a new workspace in Toad when prompted (after you enable Team Coding and MS TFS provider). Let’s call it NEW_WS.
Map it to a location on disk. In my case only C disk is available in the tree control in this window. So let’s map it to C:\NEW_WS_MAPPEDFOLDER.

2.
Then open Visual Studio Team Explorer and edit the newly created workspace (for example through the toolbar in the Source Control browser window).
This previous action in Toad maps the TFS root folder “$/” --> “C:\NEW_WS_MAPPEDFOLDER”.
Now correct the server side of the mapping to your corresponding server path.
For example:
“$/MyTFSPath” --> “C:\NEW_WS_MAPPEDFOLDER”.

3.
Now switch to Toad-Team Coding again and open Code Control Groups.
Remap your CCGs to corresponding TFS folders under “$/MyTFSPath”.
For example:
CCG_SCHEMA_1 -->“$/MyTFSPath/ SCHEMA_1” with working folder “C:\NEW_WS_MAPPEDFOLDER\SCHEMA_1”.
CCG_SCHEMA_2 -->“$/MyTFSPath/ SCHEMA_2” with working folder “C:\NEW_WS_MAPPEDFOLDER\SCHEMA_2”.
etc


4.
Next, in Team Coding Viewer, check the Object details for an object inside one CCG you just adjusted.
In my case the mapping is automatically set to this:
Object from CCG_SCHEMA_ 1:
Project: “$/MyTFSPath/SCHEMA_1”
Working Directory: “C:\NEW_WS_MAPPEDFOLDER\MyTFSPath\SCHEMA_1”

Notice the part of the path “MyTFSPath” added automatically to the working folder path. This part does not match the mappings you previously added in Team Explorer.
Note: I tried playing with paths and mapping all along this procedure, but in this step I always end up with this automatic mapping. It is interesting that it resembles the TFS root server path ($/MyTFSPath)!

Now you have following:
Team Coding side:
Project: “$/MyTFSPath/SCHEMA_1”
Working Directory: “C:\NEW_WS_MAPPEDFOLDER\MyTFSPath\SCHEMA_1”

TFS side:
Project: “$/MyTFSPath/SCHEMA_1”
Mapped folder: “C:\NEW_WS_MAPPEDFOLDER\SCHEMA_1”

5.
So, go back to Team Explorer and adjust the mapping once again to match the one in Toad.
In the settings of the NEW_WS workspace, remap (you need to create new folder for MyTFSPath)
“$/MyTFSPath” --> “C:\NEW_WS_MAPPEDFOLDER\MyTFSPath”.

6.
If you now switch back to Team Coding and check the object details for the same object once again, they will not be changed, and will point to:
Object from CCG_SCHEMA_ 1:
Project: “$/MyTFSPath/SCHEMA_1”
Working Directory: “C:\NEW_WS_MAPPEDFOLDER\MyTFSPath\SCHEMA_1”

If you check the mappings for the same path in Team Explorer, they will now match the same paths as in Toad:
TFS side:
Project: “$/MyTFSPath/SCHEMA_1”
Mapped folder: “C:\NEW_WS_MAPPEDFOLDER\MyTFSPath\SCHEMA_1”

Just after all this you can check out your objects and work with versioning, without the annoying message „Unable to get revision from vcs repository..error downloading "the filename"“ + „Error:VCS archive is empty“ in the output window”

Additional note: I need to repeat this procedure (recreate the new workspace) each time I log into a new session on the DB, because the settings get messed up again (I have the wrong path in XY starting with „\“).

I do not know if this can be done any easier, but the described steps help in my case. I hope this helps to others, because I have lost hours on this issue


Cheers,
Ana


From: ***@yahoogroups.com [mailto:***@yahoogroups.com] On Behalf Of Stephen Beausang
Sent: Tuesday, November 27, 2012 3:26 PM
To: ***@yahoogroups.com
Subject: RE: [toad] After switch from MSSCCI provider to TFS provider - „Unable to get revision from vcs repository..error downloading "the filename"“ + „Error:VCS archive is empty“


Hello Ana,

Toad handles the native TFS support, differently than MSSCI, which explains why you do not get the bug with the MSSCI provider.

There have been a number of bug fixes to TFS support in Toad, since 10.6, mostly related to TFS Workspaces. I think that your problem is likely related to one of those issues.

If you are unable to upgrade Toad. I would attempt the following. Check in or undo all pending changes using Visual Studio. Create a new workspace and logon on to this from Toad.

Hope this helps

Stephen

From: ***@yahoogroups.com<mailto:***@yahoogroups.com> [mailto:***@yahoogroups.com] On Behalf Of Ana Roje Ivancic
Sent: Tuesday, November 27, 2012 9:10 AM
To: ***@yahoogroups.com<mailto:***@yahoogroups.com>
Subject: [toad] After switch from MSSCCI provider to TFS provider - „Unable to get revision from vcs repository..error downloading "the filename"“ + „Error:VCS archive is empty“ [1 Attachment]


[Attachment(s) from =?windows-1250?Q?Ana_Roje_Ivan=E8i=E6?= included below]
Hello,

I am working with Toad 10.6 and using MSSCCI provider for TFS. Everything works fine. The TFS workspace WORKSPACE_NAME is used properly and I can checkin/checkout objects.

I now need to switch to the default Microsoft Team Foundation Server provider (2005-2010) provider.

After a successful switch to this other provider in Team Coding Settings dialog, I choose the same workspace WORKSPACE_NAME and successfully log into TFS.
The list in Team Coding Viewer is filled (as it was when using the MSSCII provider).
When I try to checkout an object, I am stuck with the known error: „Unable to get revision from vcs repository..error downloading "the filename"“ + „Error:VCS archive is empty“ in the output window.

The discussion about the error was already started here, but no solution was given: http://tech.groups.yahoo.com/group/toad/message/55395
Google gives another related link here http://toadsoft.com/EditionRNs/ToadForOracle/ToadForOracle_11.5_ReleaseNotes.htm that points to this https://support.quest.com/SolutionDetail.aspx?id=SOL74899&category=Solutions&SKB=1
• Title
Error "Unable to get revision from VCS repository" follow by "VCS archive is empty"
• Description
When checking in/out an object with in Toad with Microsoft Team Foundation Server, the following error may occur "Unable to get revision from VCS repository..error downloading "the filename..." with the filename referring to the object that you are trying to check out. In the output window, the you may also receive a message "Error:VCS archive is empty."

Resolution
Select the same workspace if you are logging in as the same schema when using team coding with Microsoft Team Foundation Server.

This explanation is not clear enough for my case! How can I find out which workspace was used/should be used for Microsoft Team Foundation Server provider (2005-2010) provider?
Can I somehow reset the versioning settings for the Microsoft Team Foundation Server provider (2005-2010) provider?
Are there any entries in the TOAD schema or some config files?

I have noticed following in the “Team Coding Object Details” for the same object (see picture) – right click in Team Coding Viewer List.
When accessed through the MSSCII provider (right dialog), all paths are correct.
When I switch to the Microsoft Team Foundation Server provider (2005-2010) provider, the Working directory path is very strange.
It starts with an “\” and the rest is the same as the TFS server path.
For example if my TFS Sever Path were “$/TeamProject/SchemaFolder ” then this working path would be set to ”\TeamProject\SchemaFolder”.
I have tried changing the TFS mappings in the appropriate code control group for the object (remap group) and the working folder is always set according to this rule.

Any suggestions how to get rid of this error?

Thanx, Ana
Stephen Beausang
2012-12-04 13:57:58 UTC
Permalink
Hi Ana,
This is a great creative solution. Can you confirm which version of Toad you are running?

Previous versions of Toad have the limitation of only allowing a single working folder mapped to the TFS root ‘S/’. In Toad 11.6 we added multiple folder mappings for TFS, which I think would eliminate the need to do this work around.

Thanks
Stephen


From: ***@yahoogroups.com [mailto:***@yahoogroups.com] On Behalf Of Ana Roje Ivancic
Sent: Tuesday, December 04, 2012 7:34 AM
To: ***@yahoogroups.com
Subject: RE: [toad] After switch from MSSCCI provider to TFS provider - „Unable to get revision from vcs repository..error downloading "the filename"“ + „Error:VCS archive is empty“


Hello Stephen,

You were right about the fact that creating a new workspace would help, but this is just part of the solution.
In my case the issue can be resolved in the following way.

1.
First create a new workspace in Toad when prompted (after you enable Team Coding and MS TFS provider). Let’s call it NEW_WS.
Map it to a location on disk. In my case only C disk is available in the tree control in this window. So let’s map it to C:\NEW_WS_MAPPEDFOLDER.

2.
Then open Visual Studio Team Explorer and edit the newly created workspace (for example through the toolbar in the Source Control browser window).
This previous action in Toad maps the TFS root folder “$/” --> “C:\NEW_WS_MAPPEDFOLDER”.
Now correct the server side of the mapping to your corresponding server path.
For example:
“$/MyTFSPath” --> “C:\NEW_WS_MAPPEDFOLDER”.

3.
Now switch to Toad-Team Coding again and open Code Control Groups.
Remap your CCGs to corresponding TFS folders under “$/MyTFSPath”.
For example:
CCG_SCHEMA_1 -->“$/MyTFSPath/ SCHEMA_1” with working folder “C:\NEW_WS_MAPPEDFOLDER\SCHEMA_1”.
CCG_SCHEMA_2 -->“$/MyTFSPath/ SCHEMA_2” with working folder “C:\NEW_WS_MAPPEDFOLDER\SCHEMA_2”.
etc


4.
Next, in Team Coding Viewer, check the Object details for an object inside one CCG you just adjusted.
In my case the mapping is automatically set to this:
Object from CCG_SCHEMA_ 1:
Project: “$/MyTFSPath/SCHEMA_1”
Working Directory: “C:\NEW_WS_MAPPEDFOLDER\MyTFSPath\SCHEMA_1”

Notice the part of the path “MyTFSPath” added automatically to the working folder path. This part does not match the mappings you previously added in Team Explorer.
Note: I tried playing with paths and mapping all along this procedure, but in this step I always end up with this automatic mapping. It is interesting that it resembles the TFS root server path ($/MyTFSPath)!

Now you have following:
Team Coding side:
Project: “$/MyTFSPath/SCHEMA_1”
Working Directory: “C:\NEW_WS_MAPPEDFOLDER\MyTFSPath\SCHEMA_1”

TFS side:
Project: “$/MyTFSPath/SCHEMA_1”
Mapped folder: “C:\NEW_WS_MAPPEDFOLDER\SCHEMA_1”

5.
So, go back to Team Explorer and adjust the mapping once again to match the one in Toad.
In the settings of the NEW_WS workspace, remap (you need to create new folder for MyTFSPath)
“$/MyTFSPath” --> “C:\NEW_WS_MAPPEDFOLDER\MyTFSPath”.

6.
If you now switch back to Team Coding and check the object details for the same object once again, they will not be changed, and will point to:
Object from CCG_SCHEMA_ 1:
Project: “$/MyTFSPath/SCHEMA_1”
Working Directory: “C:\NEW_WS_MAPPEDFOLDER\MyTFSPath\SCHEMA_1”

If you check the mappings for the same path in Team Explorer, they will now match the same paths as in Toad:
TFS side:
Project: “$/MyTFSPath/SCHEMA_1”
Mapped folder: “C:\NEW_WS_MAPPEDFOLDER\MyTFSPath\SCHEMA_1”

Just after all this you can check out your objects and work with versioning, without the annoying message „Unable to get revision from vcs repository..error downloading "the filename"“ + „Error:VCS archive is empty“ in the output window”

Additional note: I need to repeat this procedure (recreate the new workspace) each time I log into a new session on the DB, because the settings get messed up again (I have the wrong path in XY starting with „\“).

I do not know if this can be done any easier, but the described steps help in my case. I hope this helps to others, because I have lost hours on this issue


Cheers,
Ana


From: ***@yahoogroups.com<mailto:***@yahoogroups.com> [mailto:***@yahoogroups.com] On Behalf Of Stephen Beausang
Sent: Tuesday, November 27, 2012 3:26 PM
To: ***@yahoogroups.com<mailto:***@yahoogroups.com>
Subject: RE: [toad] After switch from MSSCCI provider to TFS provider - „Unable to get revision from vcs repository..error downloading "the filename"“ + „Error:VCS archive is empty“


Hello Ana,

Toad handles the native TFS support, differently than MSSCI, which explains why you do not get the bug with the MSSCI provider.

There have been a number of bug fixes to TFS support in Toad, since 10.6, mostly related to TFS Workspaces. I think that your problem is likely related to one of those issues.

If you are unable to upgrade Toad. I would attempt the following. Check in or undo all pending changes using Visual Studio. Create a new workspace and logon on to this from Toad.

Hope this helps

Stephen

From: ***@yahoogroups.com<mailto:***@yahoogroups.com> [mailto:***@yahoogroups.com] On Behalf Of Ana Roje Ivancic
Sent: Tuesday, November 27, 2012 9:10 AM
To: ***@yahoogroups.com<mailto:***@yahoogroups.com>
Subject: [toad] After switch from MSSCCI provider to TFS provider - „Unable to get revision from vcs repository..error downloading "the filename"“ + „Error:VCS archive is empty“ [1 Attachment]


[Attachment(s) from =?windows-1250?Q?Ana_Roje_Ivan=E8i=E6?= included below]
Hello,

I am working with Toad 10.6 and using MSSCCI provider for TFS. Everything works fine. The TFS workspace WORKSPACE_NAME is used properly and I can checkin/checkout objects.

I now need to switch to the default Microsoft Team Foundation Server provider (2005-2010) provider.

After a successful switch to this other provider in Team Coding Settings dialog, I choose the same workspace WORKSPACE_NAME and successfully log into TFS.
The list in Team Coding Viewer is filled (as it was when using the MSSCII provider).
When I try to checkout an object, I am stuck with the known error: „Unable to get revision from vcs repository..error downloading "the filename"“ + „Error:VCS archive is empty“ in the output window.

The discussion about the error was already started here, but no solution was given: http://tech.groups.yahoo.com/group/toad/message/55395
Google gives another related link here http://toadsoft.com/EditionRNs/ToadForOracle/ToadForOracle_11.5_ReleaseNotes.htm that points to this https://support.quest.com/SolutionDetail.aspx?id=SOL74899&category=Solutions&SKB=1
• Title
Error "Unable to get revision from VCS repository" follow by "VCS archive is empty"
• Description
When checking in/out an object with in Toad with Microsoft Team Foundation Server, the following error may occur "Unable to get revision from VCS repository..error downloading "the filename..." with the filename referring to the object that you are trying to check out. In the output window, the you may also receive a message "Error:VCS archive is empty."

Resolution
Select the same workspace if you are logging in as the same schema when using team coding with Microsoft Team Foundation Server.

This explanation is not clear enough for my case! How can I find out which workspace was used/should be used for Microsoft Team Foundation Server provider (2005-2010) provider?
Can I somehow reset the versioning settings for the Microsoft Team Foundation Server provider (2005-2010) provider?
Are there any entries in the TOAD schema or some config files?

I have noticed following in the “Team Coding Object Details” for the same object (see picture) – right click in Team Coding Viewer List.
When accessed through the MSSCII provider (right dialog), all paths are correct.
When I switch to the Microsoft Team Foundation Server provider (2005-2010) provider, the Working directory path is very strange.
It starts with an “\” and the rest is the same as the TFS server path.
For example if my TFS Sever Path were “$/TeamProject/SchemaFolder ” then this working path would be set to ”\TeamProject\SchemaFolder”.
I have tried changing the TFS mappings in the appropriate code control group for the object (remap group) and the working folder is always set according to this rule.

Any suggestions how to get rid of this error?

Thanx, Ana

Loading...