B
Bill Schanks
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(.ActiveWorkbook.Names.Count)
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_MEMBERNOTFOUND))
Exception Target Site: ForwardCallToInvokeMember
---- Stack Trace ----
System.RuntimeType.ForwardCallToInvokeMember(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_downloader.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(.ActiveWorkbook.Names.Count)
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_MEMBERNOTFOUND))
Exception Target Site: ForwardCallToInvokeMember
---- Stack Trace ----
System.RuntimeType.ForwardCallToInvokeMember(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_downloader.XLUpdate.Load_VGD_XL1()
Mainframe downloader.exe: N 00614