I have a couple of users that are running a vb.net 2005 application,
and @ 6:00am when they are trying to run the automation they are
getting the below error. But when I get in and they try to run it
again there is no error.
The actual code that is running I think is this line (I can't tell the
actual line, as I can't replicate the error):
iNamesCount = CShort(.ActiveW orkbook.Names.C ount)
Any ideas what would cause this? I am running it via Early Binding (XL
2003).
Exception Source: mscorlib
Exception Type: System.Runtime. InteropServices .COMException
Exception Message: Member not found. (Exception from HRESULT:
0x80020003 (DISP_E_MEMBERN OTFOUND))
Exception Target Site: ForwardCallToIn vokeMember
---- Stack Trace ----
System.RuntimeT ype.ForwardCall ToInvokeMember( memberName As String,
flags As BindingFlags, target As Object, aWrapperTypes As Int32[],
msgData As MessageData&)
Mainframe downloader.exe: N 00438
Excel.Names.get _Count()
Mainframe downloader.exe: N 00000
Mainframe_downl oader.XLUpdate. Load_VGD_XL1()
Mainframe downloader.exe: N 00614
and @ 6:00am when they are trying to run the automation they are
getting the below error. But when I get in and they try to run it
again there is no error.
The actual code that is running I think is this line (I can't tell the
actual line, as I can't replicate the error):
iNamesCount = CShort(.ActiveW orkbook.Names.C ount)
Any ideas what would cause this? I am running it via Early Binding (XL
2003).
Exception Source: mscorlib
Exception Type: System.Runtime. InteropServices .COMException
Exception Message: Member not found. (Exception from HRESULT:
0x80020003 (DISP_E_MEMBERN OTFOUND))
Exception Target Site: ForwardCallToIn vokeMember
---- Stack Trace ----
System.RuntimeT ype.ForwardCall ToInvokeMember( memberName As String,
flags As BindingFlags, target As Object, aWrapperTypes As Int32[],
msgData As MessageData&)
Mainframe downloader.exe: N 00438
Excel.Names.get _Count()
Mainframe downloader.exe: N 00000
Mainframe_downl oader.XLUpdate. Load_VGD_XL1()
Mainframe downloader.exe: N 00614
Comment