An unexpected problem occurred.

Dec 17, 2013 at 11:18 AM
[InvalidCastException]: Return argument has an invalid type.



at System.Runtime.Remoting.Proxies.RealProxy.ValidateReturnArg(Object arg, Type paramType)

at System.Runtime.Remoting.Proxies.RealProxy.PropagateOutParameters(IMessage msg, Object[] outArgs, Object returnValue)

at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

at Microsoft.Office.Interop.Excel.ListObject.get_DataBodyRange()

at Smrf.NodeXL.ExcelTemplate.VertexWorksheetPopulator.FillVertexTable(ListObject oVertexTable, HashSet`1 oUniqueVertexNames)

at Smrf.NodeXL.ExcelTemplate.VertexWorksheetPopulator.PopulateVertexWorksheet(Workbook workbook, Boolean activateVertexWorksheetWhenDone)

at Smrf.NodeXL.ExcelTemplate.GraphImporter.ImportGraph(IGraph sourceGraph, String[] edgeAttributes, String[] vertexAttributes, Boolean clearTablesFirst, Workbook destinationNodeXLWorkbook)

at Smrf.NodeXL.ExcelTemplate.ThisWorkbook.ImportGraph(IGraph oGraph, String[] oEdgeAttributes, String[] oVertexAttributes, String sImportDescription, String sSuggestedFileNameNoExtension)