i use c# to make macro in excel but in this line of my code
oExcel = new Excel.Application()
i have this error
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE))
I use IIS 7 , visual studio2013(use asp.net) and windows server 2008
i try this ways but not work for me : Run>ComponentService>Computers>My Computers >DCOM Config> Microsoft Excel Application > Right click >Properties >security tab > give accesse of everyone to full contol
is it about permission of windows or not ?