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: 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


Viewing all articles
Browse latest Browse all 1741

Trending Articles



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