Image Shape and Location error

Jan 4, 2013 at 7:14 PM

Just tried to set the vertices shape to image and provide an image file location, but threw this error.


---------------------------Microsoft NodeXL---------------------------An unexpected problem occurred.  If it occurs again, please copy the details to the clipboard by typing Ctrl-C, then post the details to


[ArgumentException]: Illegal characters in path.

   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.Combine(String path1, String path2)
   at Microsoft.NodeXL.ExcelTemplate.VertexWorksheetReader.CheckForImageUri(Range oVertexRange, Object[,] aoVertexValues, Int32 iRowOneBased, Int32 iColumnOneBased, IVertex oVertex, VertexRadiusConverter oVertexRadiusConverter, Nullable`1 oVertexImageSize)
   at Microsoft.NodeXL.ExcelTemplate.VertexWorksheetReader.AddVertexSubrangeToGraph(Range oVertexSubrange, VertexTableColumnIndexes oVertexTableColumnIndexes, KeyValuePair`2[] aoCustomMenuItemPairIndexes, ReadWorkbookContext oReadWorkbookContext, IGraph oGraph)
   at Microsoft.NodeXL.ExcelTemplate.VertexWorksheetReader.AddVertexTableToGraph(ListObject oVertexTable, ReadWorkbookContext oReadWorkbookContext, IGraph oGraph)
   at Microsoft.NodeXL.ExcelTemplate.VertexWorksheetReader.ReadWorksheet(Workbook workbook, ReadWorkbookContext readWorkbookContext, IGraph graph)
   at Microsoft.NodeXL.ExcelTemplate.WorkbookReader.ReadWorkbookInternal(Workbook workbook, ReadWorkbookContext readWorkbookContext)
   at Microsoft.NodeXL.ExcelTemplate.WorkbookReader.ReadWorkbook(Workbook workbook, ReadWorkbookContext readWorkbookContext)
   at Microsoft.NodeXL.ExcelTemplate.TaskPane.ReadWorkbook(Boolean bLayOutGraph)---------------------------OK   ---------------------------

Jan 4, 2013 at 11:21 PM
Edited Jan 5, 2013 at 6:26 PM


You've discovered a bug in NodeXL.  You entered an Image File value that included an invalid character, and NodeXL responded badly by giving you the error message you posted.  In the next version of NodeXL, which will be version, there will be no error message and instead a red "X" will be shown for the vertex in the graph pane.  (That's how NodeXL handles all other invalid Image File values, including web URLs that can't be reached.)

To fix your immediate problem, you may have to do some detective work to find out which Image File value in your workbook has an invalid character.  These include the following:  * ? " < > |

Thank you for reporting this bug.

-- Tony