I am trying to work with the Windows clipboard and Office Interop in an ASP.NET web application.
Everything works well on my local machine running XP (i have created a Windows application first which ran perfectly well on local machine). Then I have executed it on a server running Windows Server 2003 and it worked there as well.
Then I made a ASP.NET sample project and it worked on my local machine. However when this time I deployed it at the server, after banging my head with permissions, it started giving me this exception which i have no idea why it is doing this:
System.Runtime.InteropServices.COMException (0x80048240): Shapes (unknown member): Invalid request. Clipboard is empty or contains data which may not be pasted here. at Microsoft.Office.Interop.PowerPoint.Shapes.Paste()
Is the problem with any sort of permissions again on clipboard? If yes, how can I grant appropriate permissions?
I need to copy the exact chart and I am just using example from MSDN website. Please help!