com - Preview of Power Point in Sharepoint 2013 -
i developing web part using share point 2013 , visual studio 2013.i have display preview of power point file(also excel , word files).preview working fine .pdf files.so idea convert ppt file pdf file , display preview.please see code.
microsoft.office.interop.powerpoint._application ppapplication = new application(); presentation ppdoc = null; ppdoc = ppapplication.presentations.open(inputfilepath); ppdoc.saveas(outputfilepath, ppsaveasfiletype.ppsaveaspdf);
but first line of code create object generated following error. retrieving com class factory component clsid {91493441-5a91-11cf-8700-00aa0060263b} failed due following error: 80070005 access denied. (exception hresult: 0x80070005 (e_accessdenied)) followed steps in link below. "retrieving com class factory component.... error: 80070005 access denied." (exception hresult: 0x80070005 (e_accessdenied)) error changed given below. retrieving com class factory component clsid {91493441-5a91-11cf-8700-00aa0060263b} failed due following error: 80010001 call rejected callee. (exception hresult: 0x80010001 (rpc_e_call_rejected)). how can solve issue.please me.thanks in advance
i got similar error webapp using webservice on local server. webservice writing disk , error occured because application pool running webservice did not have proper read/write permissions.
Comments
Post a Comment