Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

Application not really running as the user..?

$
0
0

Hello --

I have a custom C# program that I put in SCCM 2012 R2 CU3 as a package and I am distributing out to my clients. My clients are Windows 8.1. The program is set to "Run with user's rights" and "Only when a user is logged on".

The issue seems to be when the program triggers on the machines it cannot access the Outlook 2013 application. My program crashes on:

Microsoft.Office.Interop.Outlook.Application oVersion = new Outlook.Application();


With the error: Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).

This points to a permissions issue. But since the application is running as the user, shouldn't it have access? If I run the program manually it works fine. I do have UAC set to level 3, but I do not have a problem running the program manually.

Even if I set UAC settings in the application manifest it doesn't make a difference.

Any ideas?

Thanks,

Greg


Viewing all articles
Browse latest Browse all 4762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>