1

我在 VS2010 中有一个 c# 中的 Web 应用程序,它使用 Microsoft.Interop.Excel 12 将数据导出到 Excel 电子表格。
该应用程序在 Windows Server 2003 以及 VS2010 的调试模式下的 Windows Server 2008 R2 上运行良好。
当我在 iis7.5 上运行应用程序时,我从 HRESULT 收到异常:0x800AC472。
我已使用 dcomcnfg 为 Microsoft Excel 应用程序上的 appPool 身份用户授予权限,并在 C:\Windows\SysWOW64\config\systemprofile 和 C:\Windows\System32\config\systemprofile 中创建了桌面文件夹,具有相同的权限用户。
我使用的服务器是 Virtual Windows Server 2008 R2(在 Windows Server 2012 之上)。
任何人都可以帮忙吗?
非常感谢

4

0 回答 0