i want ro run power point slides from web page , so i added refrences to COM objects , Power Point and office .
then i created object for powerpoint ppApp = CreateObject("Powerpoint.Application")
then i open the power point slide c:\test1.ppt and try to run the powerpoint slides , it is working fine when i try to view this project in visual studio 2005 , it ran the slides , but after that when i try to publish that website
it is showing me
error : Cannot create ActiveX component.
i tried every thing i checked c:\windows\assemblies for microsoft.office.interop.powerpoint etc . they are there , i try to put <identity impersonate="true" /> in web.config , i have microsoft.office.interop.powerpoint and microsoft.office.core
namespces in my project
but i am still getting the error on Cannot create ActiveX component. on line CreateObject("Powerpoint.Application")
i dont know what else i could do , i will really appriciate your help , thanks guys.
ksidhu
0 Points
3 Posts
Cannot create ActiveX component
Feb 14, 2007 06:54 PM|LINK
Hi all ,
i want ro run power point slides from web page , so i added refrences to COM objects , Power Point and office .
then i created object for powerpoint ppApp = CreateObject("Powerpoint.Application")
then i open the power point slide c:\test1.ppt and try to run the powerpoint slides , it is working fine when i try to view this project in visual studio 2005 , it ran the slides , but after that when i try to publish that website it is showing me
error : Cannot create ActiveX component.
i tried every thing i checked c:\windows\assemblies for microsoft.office.interop.powerpoint etc . they are there , i try to put <identity impersonate="true" /> in web.config , i have microsoft.office.interop.powerpoint and microsoft.office.core namespces in my project
but i am still getting the error on Cannot create ActiveX component. on line CreateObject("Powerpoint.Application")
i dont know what else i could do , i will really appriciate your help , thanks guys.