Con più domande
chiamata DCOM

Domanda
-
Buongiorno,
abbiamo creato un add-in software per Microsoft Excel 2016 su Windows Server 2016 installato e funzionante con la medesima configurazione presso vari clienti.
Da un cliente , sempre con Windows Server 2016 e Office 2016, la chiamata all Add-in viene bloccata ed il log applicativo ci restituisce il seguente errore:
Recupero della class factory COM per il componente con CLSID {00024500-0000-0000-C000-000000000046} non riuscito a causa del seguente errore: 80080005 Esecuzione del server non riuscito. (Eccezione da HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
in System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)
in System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType)
in System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)
in System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
in System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
in System.Activator.CreateInstance(Type type, Boolean nonPublic)
in System.Activator.CreateInstance(Type type)
in RDBVstoLauncher.Program.GetOfficeVersion() in D:\SVILUPPO\Sviluppo_2010\RDBShellVSTO\RDBVstoLauncher\Program.cs:riga 198
in RDBVstoLauncher.Program.ReEnableHardDisabledAddin() in D:\SVILUPPO\Sviluppo_2010\RDBShellVSTO\RDBVstoLauncher\Program.cs:riga 165
in RDBVstoLauncher.Launcher.Launcher_Shown(Object sender, EventArgs e) in D:\SVILUPPO\Sviluppo_2010\RDBShellVSTO\RDBVstoLauncher\Launcher.cs:riga 48Abbiamo già verificato tutte le impostazini di sicurezza e DCOM, abbiamo provato ad installare Office con la loro ISO su una nostra macchina e funziona correttamente, abbiamo verificato ogni tipo di versione di patch di sicurezza, ma non abbiamo risolto il problema.
Tutte le risposte
-
Ciao, prova a dare una lettura al seguente post http://tanveeronline.blogspot.com/2012/05/component-with-clsid-xxx-failed-due-to.html
Saluti
Ninowww.testerlab.it
-
Di solito gli errori 0005 sono legati ai permessi, lavorando con dcomcfg dovresti risolvere (ricontrollate, usate procmon per capire cosa succede) anche se l'utilizzo di tale util è ostico.
https://www.codeproject.com/Questions/134963/COM-Exception
https://support.microsoft.com/en-us/help/870655/you-may-receive-an-error-code-80080005-server-execution-failed-error-m
Gastone Canali >http://www.armadillo.it
Se alcuni post rispondono al tuo quesito(non necessariamente i miei), ricorda di contrassegnarli come risposta e non dimenticare di contrassegnare anche i post utili. GRAZIE! Ricorda di dare un occhio ai link Click Here andHere- Modificato GastoneCanali domenica 19 aprile 2020 16:48