When the VB.NET executable is run as an SSIS Process Task the following error is returned by the Microsoft.Office.Interop,Excel.Workbook.SaveAs method:
System.Runtime.InteropServices.COMException (0x800A03EC): Exception from HRESULT: 0x800A03EC at Microsoft.Office.Interop.Excel.WorkbookClass.SaveAs(Object Filename, Object FileFormat, Object Password, Object WriteResPassword, Object ReadOnlyRecommended, Object CreateBackup, XlSaveAsAccessMode AccessMode, Object ConflictResolution, Object AddToMru, Object TextCodepage, Object TextVisualLayout, Object Local)
When the same VB.NET executable is run outside the SSIS environment there is no problem.
Operating system is Windows NT 6.0, SQL Version is 2005, VB.NET Version is 2003, Excel Version is 2007 (12.0)
|