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.
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 prevent the crash? Due to deployment issues I'd like to avoid modifying the .NET system policies if possible.