You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NetOffice library may report invalid class name in the FactoryException thrown from CreateObjectFromComProxy() method.
The Class does not exist: NetOffice.OfficeApi. should end with the class name of the component for which the instance could not be created and the classType is null.
thrownewFactoryException("Class does not exist: "+(true==String.IsNullOrWhiteSpace(fullClassName)?ComTypes.TypeDescriptor.GetFullComponentClassName(comProxy):fullClassName));
Invalid class name is created in the GetFullComponentClassName() method:
NetOffice.Exceptions.FactoryException: Class does not exist: NetOffice.OfficeApi.
Module "NetOffice.Core", in CreateObjectFromComProxy
Module "NetOffice.Core", in CreateObjectFromComProxy
Module "NetOffice.Utils", in GetProxyEnumeratorAsProperty
Module "NetOffice.OfficeApi.DocumentProperties", in GetEnumerator
Module "System.Linq.Enumerable", in First
intermittently seeing the same issue, curious if there are any suggested workarounds or planned fix?
NetOffice.Exceptions.FactoryException
HResult=0x80131500
Message=Class does not exist: NetOffice.PowerPointApi.
Source=NetOffice
StackTrace:
at NetOffice.Core.CreateObjectFromComProxy(IFactoryInfo factoryInfo, ICOMObject caller, Object comProxy, Type
comProxyType, String className, String fullClassName, Boolean allowDynamicObject)
at NetOffice.Core.CreateObjectFromComProxy(ICOMObject caller, Object comProxy, Boolean allowDynamicObject)
at NetOffice.Utils.<GetProxyEnumeratorAsProperty>d__13.MoveNext()
at NetOffice.PowerPointApi.Shapes.<GetEnumerator>d__121.MoveNext()
Also seeing this intermittently. StackTrace below from an enumeration over a sheet's CustomProperties
NetOffice.Exceptions.FactoryException: Class does not exist: NetOffice.ExcelApi.
at NetOffice.Core.CreateObjectFromComProxy(NetOffice.IFactoryInfo factoryInfo, NetOffice.ICOMObject caller, System.Object comProxy, System.Type comProxyType, System.String className, System.String fullClassName, System.Boolean allowDynamicObject) at offset 348
at NetOffice.Core.CreateObjectFromComProxy(NetOffice.ICOMObject caller, System.Object comProxy, System.Boolean allowDynamicObject) at offset 227
at NetOffice.Utils.d__13.MoveNext() at offset 353
at NetOffice.ExcelApi.CustomProperties.d__26.MoveNext() at offset 101
NetOffice library may report invalid class name in the
FactoryException
thrown fromCreateObjectFromComProxy()
method.The
Class does not exist: NetOffice.OfficeApi.
should end with the class name of the component for which the instance could not be created and theclassType
isnull
.NetOffice/Source/NetOffice/Core.cs
Line 1231 in f2e3dcd
Invalid class name is created in the
GetFullComponentClassName()
method:NetOffice/Source/NetOffice/ComTypes/TypeDescriptor.cs
Line 45 in f2e3dcd
The text was updated successfully, but these errors were encountered: