Iam trying to export Some datas to Excel in my asp.net project. It is working fine on every version of windows except Wiindows 8. It throwing One Exception
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)
I have already added the Desktop Folder for the Folder structure in C:\\windows\sysWow64\Config\SystemProfile\ Desktop (Mine is 64 bit)
Why it is making problem with Windows 8 ? Anyone help Me?