KB‎ > ‎

Error - Using Replace Shape to replace a 2-D shape that is glued to another 2-D shape

Ref: 201105041542 
Defect Id: 2633329
Last Edited: May 5th, 2011
 
 
Description:
When using Replace Shape, if a 2-D shape that is glued to another 2-D shape is replaced, an unanticipated error occurs, and the Replace Shape for that file is aborted.
 
04/05/2011 12:05:20
An unknown error has occurred during a Shape Replace in the file 'N:\Map Store\ProcessLibrary\2 Maps for Review\Process Map.vdx'. This file will not be saved.
=== Begin For Triaster Support ===
The following content may be useful to the Triaster support team.
Please copy and paste it into an e-mail to support@triaster.co.uk
and attach any referenced files if you would like help understanding
how to avoid this issue reoccurring.

Inappropriate source object for this action.
An unknown error has occurred during a Shape Replace in the file 'N:\Map Store\ProcessLibrary\2 Maps for Review\Process Map.vdx'. This file will not be saved.
System.Runtime.InteropServices.COMException (0x86DB089D):
Inappropriate source object for this action.
   at Microsoft.Office.Interop.Visio.CellClass.GlueTo(Cell CellObject)
   at Triaster.ProcessNavigator.Common.ProcessObjects.Map.ReplaceShapeInstances(String strFind, String strReplace, String strStencil, Boolean blnPreserveProperties, Boolean blnReplaceVariants)
   at Triaster.ProcessNavigator.AnalystEdition.clsFileUpdate.ReplaceShapesChangeMaster(Collection colJobList, String strStencil, String strFileName, Boolean blnUpdateBackground, String strBackgroundShape)
=== Finish For Triaster Support ===
 
 
Cause:
There is an error in the mechanism used to glue the shapes. 
 
Workaround:
  1. Identify the shapes.
    (The progress window should identify one of those shapes, which should be the last shape processed.)
  2. Disconnect them.
  3. Repeat the Replace Shape.
  4. Reconnect the shapes.
 
Applies to:
  • Process Navigator 4.6x, 9.1, 10.x     Fixed in PN 13.2
     
Comments