Quantcast
Channel: NetOffice - MS Office in .NET
Viewing all articles
Browse latest Browse all 1741

Commented Unassigned: Application.GetActiveInstance throws ArgumentException "component" [20548]

$
0
0
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 **

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.


Viewing all articles
Browse latest Browse all 1741

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>