Error Message

Aug 14, 2014 at 6:54 PM
Details:



[COMException]: SaveCopyAs method of Workbook class failed





Server stack trace:





Exception rethrown at [0]:

at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

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

at Microsoft.Office.Interop.Excel._Workbook.SaveCopyAs(Object Filename)

at Smrf.NodeXL.ExcelTemplate.GraphExporterUtil.GetWorkbookContents(Workbook oWorkbook)

at Smrf.NodeXL.ExcelTemplate.GraphExporterUtil.GetDataToExport(Workbook workbook, NodeXLControl nodeXLControl, Boolean exportWorkbookAndSettings, Boolean exportGraphML, String zippedGraphMLFileName, Boolean useFixedAspectRatio, Byte[]& fullSizeImage, Byte[]& thumbnail, Byte[]& workbookContents, String& workbookSettings, Byte[]& graphMLZipped)

at Smrf.NodeXL.ExcelTemplate.EmailExporter.AddAttachmentsAndAlternateHtml(MailMessage oMailMessage, Workbook oWorkbook, NodeXLControl oNodeXLControl, Boolean bExportWorkbookAndSettings, Boolean bExportGraphML, Boolean bUseFixedAspectRatio)

at Smrf.NodeXL.ExcelTemplate.EmailExporter.GetMailMessage(Workbook oWorkbook, NodeXLControl oNodeXLControl, String[] asToAddresses, String sFromAddress, String sSubject, String sMessageBody, Boolean bExportWorkbookAndSettings, Boolean bExportGraphML, Boolean bUseFixedAspectRatio)

at Smrf.NodeXL.ExcelTemplate.EmailExporter.ExportToEmail(Workbook workbook, NodeXLControl nodeXLControl, String[] toAddresses, String fromAddress, String subject, String messageBody, String smtpHost, Int32 smtpPort, Boolean useSslForSmtp, String smtpUserName, String smtpPassword, Boolean exportWorkbookAndSettings, Boolean exportGraphML, Boolean useFixedAspectRatio)

at Smrf.NodeXL.ExcelTemplate.ExportToEmailDialog.btnOK_Click(Object sender, EventArgs e)

OK