windows server 2008 x64 上asp.net 调用 word, excel 出错的解决方式

异常信息:

System.Runtime.InteropServices.COMException

message:内存不足,请现在保存文档

 

网上的一种方法是

 

但是,在64位机器上安装32位的office,在DCOM 配置里是找不到 word,excel的选项的。

下面用这个方法解决:

This solution is ...
・Windows 2008 Server x64

Please make this folder.
C:\Windows\SysWOW64\config\systemprofile\Desktop
・Windows 2008 Server x86
Please make this folder.
C:\Windows\System32\config\systemprofile\Desktop

posted @ 2014-07-02 10:56  盛亚  阅读(238)  评论(0编辑  收藏  举报