Report Archives identifies many file revisions mapped to foreign archives, but gives no information other than file name and "<No Share Paths Were Found>". How do I locate these files and correct them?

0 Likes

Problem:

Report Archives identifies many file revisions mapped to foreign archives, but gives no information other than file name and "<No Share Paths Were Found>". How do I locate these files and correct them?

Resolution:

  • Product Name: StarTeam
  • Product Version: 2005, 2005 R2
  • Product Component: Report Archives
  • Platform/OS Version: All Supported OS

Question:

Report Archives identifies many file revisions mapped to foreign archives, but gives no information other than file name and "". How do I locate these files and correct them?


Answer:

This is much easier to figure out by going to the database directly. We can run a query similar to the following (you might need to tweak it depending on database ownership and whether you have sqlserver or oracle):

select * from syn_file inner join syn_project on syn_project.id = syn_file.projectid where syn_file.archiveformat<>2;

That"s going to return a table which will show you all the non-native 2 archives and what project they belong to. We can start by looking at the project names and verifying that these projects exist still in StarTeam. If there are any deleted projects, you will need to run StarTeamPurge.exe. After that, you will need to convert these projects to Native 2 via the StarTeam Client. If these projects are corrupted, then you"ll need to figure out if the project can be deleted and purged or if you need to rewrap the project using a more recent VSS or PVCS wrapping.

Please contact support if you have any additional questions or if the GoNative2 process fails.


Author: Daniel Rice

Old KB# 29149
Comment List
Related
Recommended