views:

8

answers:

0

Dear members ! Require Your Assistance whith following issue : I am developing Sharepoint feature which should launch Visio 2010 application. Sharepoint is 2010 , OS is Windows 2008 R2

this line of code app = new Application(); raise error

System.UnauthorizedAccessException {"Retrieving the COM class factory for component with CLSID {00021A20-0000-0000-C000-000000000046} failed due to the following error: 80070005."}

So it is security problem . I was trying add rights for this COM object to Sharepoint account NetworkService (this recipe is providing by lot of forums), to Users , Authenticate users even for Everyone using dcomconfig.exe utility but without Success.

Right now I temporary change user account control settings in control panel so everything is ok but it is not a solution

Thks for you help