Microsoft.Office.Interop.Excel.WorkbookClass.SaveAs() 方法在Windows Server 2003上运行正常,也在XP上运行,但在Windows Server 2008上没有.我复制它,因为它给了所有的Dll和权限
我还尝试了网上提供的所有解决方案,例如文化设置和DCOM权限.
获得以下错误:
System.Runtime.InteropServices.COMException(0x800A03EC):来自HRESULT的异常:0x800A03EC
在
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)
请帮忙 ..!
尝试在Windows Server 2008上运行互操作依赖程序时,我遇到错误,它在Win Server 2003和XP上正常运行:
System.Runtime.InteropServices.COMException(0x800A03EC):来自HRESULT的异常:Microsoft.Office.Interop.Excel.WorkbookClass.SaveAs(.......)中的0x800A03EC
根据微软的说法,Windows Server 2008不在支持的操作系统列表中.
支持的操作系统:Windows 2000 Service Pack 3; Windows Server 2003; Windows XP
任何人都可以证实这一点..有没有人试过..?