300 +幻灯片在动态创建PPT时显示此错误 [英] 300 + Slide showing this error when Create PPT Dynamically

查看:94
本文介绍了300 +幻灯片在动态创建PPT时显示此错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

虽然我有8 GB RAM和Dedicate服务器....



System.OutOfMemoryException:没有足够的内存可用于完成操作。在Microsoft.Office.Interop.PowerPoint.PresentationClass.SaveAs(String FileName,PpSaveAsFileType FileFormat,MsoTriState EmbedTrueTypeFonts)中,位于c:\inetpub\vhosts\service2.trialsvision.com \httpdocs中的CallFuctionForBatchProcess_Amr.Export2PPT(Int32 tempIndex) \\ App_Code \CallFuctionForBatchProcess_Amr.cs:位于c:\inetpub \vhosts \service2.trialsvision.com \httpdocs \ App_Code \ CallFuctionForBatchProcess_Amr.cs中的CallFuctionForBatchProcess_Amr.btndone_OnClick()的第4406行:第591行

While i have 8 GB RAM and Dedicate server ....

System.OutOfMemoryException: There is insufficient memory available to complete operation. at Microsoft.Office.Interop.PowerPoint.PresentationClass.SaveAs(String FileName, PpSaveAsFileType FileFormat, MsoTriState EmbedTrueTypeFonts) at CallFuctionForBatchProcess_Amr.Export2PPT(Int32 tempIndex) in c:\inetpub\vhosts\service2.trialsvision.com\httpdocs\App_Code\CallFuctionForBatchProcess_Amr.cs:line 4406 at CallFuctionForBatchProcess_Amr.btndone_OnClick() in c:\inetpub\vhosts\service2.trialsvision.com\httpdocs\App_Code\CallFuctionForBatchProcess_Amr.cs:line 591

推荐答案

亲爱的朋友们,

i只是这样解决了这个问题,将.ppt文件保存为.pptx
Dear Friends ,
i solved this problem simply this way , to save a .ppt file as .pptx


这篇关于300 +幻灯片在动态创建PPT时显示此错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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