Lost labels when importing from SourceSafe

If you are having a problem using Vault, post a message here.
Post Reply
thale013
Posts: 8
Joined: Mon May 14, 2012 8:02 am

Lost labels when importing from SourceSafe

Post by thale013 » Fri May 25, 2012 8:44 am

I'm having problems with labels being dropped on files when I import from SourceSafe to SourceGear. Output from VSS Import:

Label Verification: The label V05.01.03C was not imported because of the VSS error "File "$/Process Automation/DbServices/L3Logger" not found"
Label Verification: The label V06.03.00C was not imported because of the VSS error "File "$/Process Automation/DbServices/L3Logger" not found"
Label Verification: The label V06.03.01C was not imported because of the VSS error "File "$/Process Automation/DbServices/L3Logger" not found"
....
....
And on and on on for many different projects....
....
....

It looks like this is occuring because in the past these folders were renamed. Is this a known bug? Is there a workaround for it?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Lost labels when importing from SourceSafe

Post by lbauer » Sat May 26, 2012 2:50 pm

We'd like to see a copy of the import log. It's in the VSS Import tool directory. Send the log zipped up to support at sourcegear.com attn: Linda. Include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager

thale013
Posts: 8
Joined: Mon May 14, 2012 8:02 am

Re: Lost labels when importing from SourceSafe

Post by thale013 » Tue May 29, 2012 8:33 am

Sent log file from import

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Lost labels when importing from SourceSafe

Post by lbauer » Wed May 30, 2012 8:55 am

I tested labeling a folder in SourceSafe, then renaming the folder and labeling it again. It imported with no errors.

In your case, I'm seeing a lot of server errors related to the label import. Could you send me a copy of the Vault server log for the time of the VSS import? It's called sgvault.log and is in %windir%\temp\sgvault on the server machine. Send the log zipped up to support at sourcegear.com, Attn: Linda. Please include a link to this forum post.

Committing Label Contents
Exception during label import $/Process Automation (PAS V05.00.00C) : System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at VaultServiceAPILib.VaultServiceAPI.PromoteLabelItems(Int32 nUserID, Int32 nRepID, String strItemPath, Boolean bTrackChanges, Int64 nLabelID, String strLabelName, VaultLabelPromotionItem[] vlpi, VaultDateTime importLabelDate, Boolean bIsImport, VaultDateTime& dtLastChange, Int32& nIdxFailed, String& strRootPathConflict)
at VaultService.VaultService.ImportPromoteLabelItems(Int32 nRepID, String strItemPath, Int64 nLabelID, String strLabelName, VaultLabelPromotionItem[] vlpi, VaultDateTime labelDate, VaultDateTime& dtLastChange, Int32& nIdxFailed)
Linda Bauer
SourceGear
Technical Support Manager

thale013
Posts: 8
Joined: Mon May 14, 2012 8:02 am

Re: Lost labels when importing from SourceSafe

Post by thale013 » Wed May 30, 2012 1:18 pm

Log file sent

Post Reply