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. Advertisements

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:
    561
  2. =?Utf-8?B?Sm9l?=
    Replies:
    0
    Views:
    522
    =?Utf-8?B?Sm9l?=
    Nov 15, 2004
  3. =?Utf-8?B?QWxleCBNYWdoZW4=?=

    ASPX and MS Office Automation

    =?Utf-8?B?QWxleCBNYWdoZW4=?=, Dec 24, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    529
    =?Utf-8?B?UmljaA==?=
    Dec 27, 2004
  4. Alejandro Penate-Diaz

    office automation securiy error

    Alejandro Penate-Diaz, Apr 4, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    673
    Steve C. Orr [MVP, MCSD]
    Apr 4, 2005
  5. Stelios Skiathitis
    Replies:
    1
    Views:
    2,244
    Ken Cox [Microsoft MVP]
    May 25, 2005
  6. 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:
    2,070
    Luis Esteban Valencia Muñoz
    Jun 3, 2005
  7. micky
    Replies:
    0
    Views:
    775
    micky
    Dec 20, 2005
  8. Stan Accrington
    Replies:
    1
    Views:
    1,195
    Michael Borgwardt
    May 13, 2004
Loading...