Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / May 2008

Tip: Looking for answers? Try searching our database.

XL Automation - Member not found

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bill Schanks - 29 May 2008 15:58 GMT
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
Family Tree Mike - 29 May 2008 17:01 GMT
Not a lot to go on, but, Downloader.exe, to me, implies you are getting
either a spreadsheet or data from a server.  What happens if the server is
down, hiccoughs, etc...?  Are there serverlogs that are accessable?

> 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
[quoted text clipped - 23 lines]
>    Mainframe_downloader.XLUpdate.Load_VGD_XL1()
>        Mainframe downloader.exe: N 00614
Bill Schanks - 29 May 2008 18:08 GMT
The application is called mainframe dowloader... The application
downloads the file via ftp, and the part is fine. But the error is
coming up while automating Excel to insert the data into the
spreadsheet. I know it's not a lot to go on, but that is all I have as
well. I can only guess where the code is breaking based on the stack
info I provided, and the fact I can't replicate the error.

On May 29, 11:01 am, Family Tree Mike
<FamilyTreeM...@discussions.microsoft.com> wrote:
> Not a lot to go on, but, Downloader.exe, to me, implies you are getting
> either a spreadsheet or data from a server.  What happens if the server is
[quoted text clipped - 27 lines]
> >    Mainframe_downloader.XLUpdate.Load_VGD_XL1()
> >        Mainframe downloader.exe: N 00614

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.