UnauthorizedAccessException is caught when using office automation

F

Franz

Hi,

I have the following lines of code run in the server side of the web
service, however, it throws an UnauthorizedAccessException to me. What do I
need to do to allow the use of office automation?
Do I need to bother the Code Access Security?

Dim oPPTApp As PowerPoint.Application
oPPTApp = New PowerPoint.Application

Thanks,
Franz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top