Error while retrieving Addins from Excel

Apr 10, 2013 at 3:42 PM
Following code fails while retriving all installed AddIns from Excel....

Environment : Windows XP, Excel 2007. Below code works perfectly fine on Win 7 & Excel 2010 32 bit.

Thanks

40:51,325 [1] DEBUG AB.XXX.AddIn.Download.AddInDownload - System.Runtime.InteropServices.COMException (0x80004005): See inner exception(s) for details. ---> System.Runtime.InteropServices.COMException (0x80020006): Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at NetOffice.Invoker.PropertyGet(COMObject comObject, String name, Object[] paramsArray)
at NetOffice.Invoker.PropertyGet(COMObject comObject, String name, Object[] paramsArray)
__ at NetOffice.ExcelApi.Application.get_AddIns2()_
at AB.XXX.AddIn.Download.AddInDownload.Install()
09:40:58,810 [1] DEBUG AB.RAP.AddIn.Download.AddInDownload - System.Runtime.InteropServices.COMException (0x80020006): Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at NetOffice.Invoker.PropertyGet(COMObject comObject, String name, Object[] paramsArray)
Apr 16, 2013 at 3:27 PM
Hello,
This might give you a hint.

http://support.microsoft.com/kb/822335