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: ControlBreak **
"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: ControlBreak **
I am experiencing the same issue on some code that used to work in the past.
I suspect that some Office updates (?) occured and changes some things.