UnauthorizedAccessException is caught when using office automation

Discussion in 'ASP .Net Web Services' started by Franz, Jan 10, 2006.

  1. Franz

    Franz Guest

    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
    Franz, Jan 10, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Do
    Replies:
    0
    Views:
    478
  2. =?Utf-8?B?Sm9l?=
    Replies:
    0
    Views:
    415
    =?Utf-8?B?Sm9l?=
    Nov 15, 2004
  3. Luis Esteban Valencia Muñoz

    Using Word/office ole automation with asp.net

    Luis Esteban Valencia Muñoz, Jun 3, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    1,881
    Luis Esteban Valencia Muñoz
    Jun 3, 2005
  4. micky
    Replies:
    0
    Views:
    716
    micky
    Dec 20, 2005
  5. Stan Accrington
    Replies:
    1
    Views:
    929
    Michael Borgwardt
    May 13, 2004
Loading...

Share This Page