PowerPoint无法打开该文件。 [英] PowerPoint could not open the file.

查看:222
本文介绍了PowerPoint无法打开该文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的本地系统中应用程序运行得非常好但是在运行时(使用子域)然后显示此错误。虽然我们给予完全许可。



in my Local system Application is run very good but when run live (with subdomain) then showing this Error . although we give full permission .

System.Runtime.InteropServices.COMException (0x80004005): PowerPoint could not open the file. at Microsoft.Office.Interop.PowerPoint.Presentations.Open(String FileName, MsoTriState ReadOnly, MsoTriState Untitled, MsoTriState WithWindow) at CallFuctionForBatchProcess_Amr.Export2PPT(Int32 tempIndex) in c:\inetpub\

推荐答案

您检查过powerpoint是否已安装?



另外,从asp.net运行你可能没有权限在iis中打开powerpoint。在您的网络服务器代码中使用Office组件也是非常糟糕的做法。



祝你好运!
Did you check powerpoint is installed?

Also, running from asp.net you probably do not have permission to open powerpoint in iis. It is also very bad practice to use office components in your webserver code.

Good luck!


创建一个文件夹,桌面名称。在这条道路上。它在工作。

Create a folder , Desktop name . on this path . It's Working .
C:\Windows\SysWOW64\config\systemprofile\Desktop


这篇关于PowerPoint无法打开该文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆