How can I prevent the error, "StAddContentToken::CancelAddOperation: Class = FileSystemException, Code = 0(00000000) Msg = Permission denied"?

0 Likes

Problem:

How can I prevent the error, "StAddContentToken::CancelAddOperation: Class = FileSystemException, Code = 0(00000000) Msg = Permission denied"?

Resolution:


  • Product Name: StarTeam
  • Product Version: All
  • Product Component: CPC
  • Platform/OS Version: N/A


If you consult your log file you will see an error similar to the message below:

Exception handled at CStAddContentToken::CancelAddOperation: Class = FileSystemException, Code = 0(00000000) Msg = Permission denied
[HiveID] = 10
[OS Error Code] = 13
[FileName] = C:Hive\cache\Temp\79fcd238-adad-4829-8e5c-1ff964cded12
[File MD5] = 00000000000000000000000000000000

From this information we can see that the file is being stored in the temporary directory of the cache folder within the StarTeam repository.The Cache folder stores uncompressed versions of archive files. It has two subfolders "Temp" and "Deltas".

The Temp sub-folder is used for files that are being added to StarTeam and for new file revisions that are being checked in.

The Deltas sub-folder stores the differences between working files and tip revisions. It"s used only when a user chooses the setting

TOOLS | PERSONAL OPTIONS | FILE | CHECKOUT | OPTIMIZE FOR SLOW CONNECTIONS

To avoid the error you should disable the option "Optimize for slow connections", this will prevent the user from trying to check out a file that is not an actual MD5 versioned file but a temp copy of an actual archive file.


Old KB# 27283
Comment List
Related
Recommended