c# - Getting exception while saving a .pptx file -
i have presentation object follows,
using presentation = microsoft.office.interop.powerpoint.presentation; presentation pptpresentation = pptapplication.presentations.add(msotristate.msofalse);
after processing, @ time of saving,
pptpresentation.saveas(@"c:\temp\myppt.pptx", microsoft.office.interop.powerpoint.ppsaveasfiletype.ppsaveasdefault, msotristate.msotrue);
it's throwing exception.
i appreciate this, it's got me stumped.
environment details:- windows 2008 server(x64), .net 3.5, iis7
finally got magical solution.
i created 2 folders in windows 2008 server
c:\windows\syswow64\config\systemprofile\desktop , c:\windows\system32\config\systemprofile\desktop
and after applying read permission folders, ppt getting save in local directory of server. source
Comments
Post a Comment