none
Preventing SecurityException when deploying application using Office PIA RRS feed

  • Question

  • I have a c# application that uses the Office PIAs to enable the application to export data to an Excel file. This works great on my development machine and other desktop machines.

    When I run the application on a Terminal Server (which has Office available) I get a SecurityException and the application crashes. The debugger recommends I read up on security permissions and distributing office apps (helpfully providing a link). Going through this documentation, it seems to mostly pertain to writing add-ins for the Office suite instead of using their functionality.

    Is there a tutorial that I can follow so I can preserve this functionality or at the very least disable the function and prevent the crash? Due to deployment issues I'd like to avoid modifying the .NET system policies if possible.


    This forum seemed like the best fit, let me know if there is another area I should post to.
    Wednesday, December 9, 2009 2:07 AM

Answers