I am trying to export excel workbook to PDF using introp libraries, but i am getting this exception HRESULT: 0x800A03EC
I am using office 2010 libraries, this exception is thrown on line below
xlNewWorkBook.ExportAsFixedFormat(XlFixedFormatType.xlTypePDF,
userSpecificFile, missing, missing, missing, missing, missing, missing,
missing);
Here is the StackTrace
Microsoft.Office.Interop.Excel.WorkbookClass.ExportAsFixedFormat(XlFixedFormatType Type, Object Filename, Object Quality, Object IncludeDocProperties, Object IgnorePrintAreas, Object From, Object To, Object OpenAfterPublish, Object FixedFormatExtClassPtr) XLEZClient.DAL.SqlServer.UpdateRepository.getPopulatedBook(List`1& FIDSNSIModel, String& fileName, Boolean isMultipleBooks, String& userId) C:\Users\Administrator\Desktop\XLEZ Latest SRC_DataHandler\DAL\SqlServer\UpdateRepository.cs:行 937