Video Screencast Help
Symantec Appoints Michael A. Brown CEO. Learn more.

Error reading associated resources

Created: 02 Jan 2013 • Updated: 28 Feb 2013 | 1 comment
This issue has been solved. See solution.

Hello! I have got problem with "ClearUserOwnersForAssetById(SMP 7)" component. I use it to clear resource association between asset and its owner. As a parameter I pass guid of asset. Generally everything works fine, but in some cases I get an error: "ErrorMessage = "Error reading associated resources ---> Conversion failed when converting from a character string to uniqueidentifier."". Is there solution to this problem? Maybe it is possible to create integration library and write an sql statement, which will delete existing resource association? If it is possible and safe, will it be enough to delete only one record in ResourceAssotiation table?

Comments 1 CommentJump to latest comment

Prasanna Deshmukh's picture

Hello,

To clear resource association between asset and its owner OR deleting the existing resource association from ResourceAssociation table following functionality can be implemented

  • Remove child from parent resources by passing guid of association type /vice versa functionality can be implemented. Check ParentResourceAssociations.
SOLUTION