From stack trace:
"System.ArgumentException was caught
HResult=-2147024809
Message=component
Source=System
StackTrace:
at System.ComponentModel.TypeDescriptor.GetDescriptor(Object component, Boolean noCustomTypeDesc)
at System.ComponentModel.TypeDescriptor.GetClassName(Object component)
at NetOffice.RunningObjectTable.GetActiveProxyFromROT(String componentName, String className, Boolean throwOnError)
at NetOffice.ExcelApi.Application.GetActiveInstance()
at ITSR2.Bricks.Excel.ExcelApp.GetRunningInstance()
InnerException: "
Do you have an ideas about possible reason and how to solve it?
Comments: ** Comment from web user: SebastianDotNet **
"System.ArgumentException was caught
HResult=-2147024809
Message=component
Source=System
StackTrace:
at System.ComponentModel.TypeDescriptor.GetDescriptor(Object component, Boolean noCustomTypeDesc)
at System.ComponentModel.TypeDescriptor.GetClassName(Object component)
at NetOffice.RunningObjectTable.GetActiveProxyFromROT(String componentName, String className, Boolean throwOnError)
at NetOffice.ExcelApi.Application.GetActiveInstance()
at ITSR2.Bricks.Excel.ExcelApp.GetRunningInstance()
InnerException: "
Do you have an ideas about possible reason and how to solve it?
Comments: ** Comment from web user: SebastianDotNet **
hey Riffer
which NO version ???
i have changed the implementation in NO 1.7.2 specialy for MS-Excel.
NO 1.7.2 doesnt use the Running Object Table for Excel in GetActiveInstance(s)
please make sure to use the latest NO version.
*Sebastian