Click to See Complete Forum and Search --> : "Automation error" & Serv. Pack 3 ???
I've been getting a strange error in VB6 after installing service pack 3 (this may be a coincidence). I'm getting "Run-time Error '-2147023739 (80070485)' Automation Error". I don't get this on the machine I'm developing on, but on my target system. One example of where the error is popping up is when I'm making the following statement "File1.Selected(i) = True". This is in a loop where i is the index. This was working fine before I installed Service Pack 3.
Anyone know what this might be? Any ideas of things to try? Is a negative error number even supposed to be possible?
Thanks much,
Erik Seavey
erik_seavey@watlow.com
Ravi Kiran
June 3rd, 1999, 12:59 AM
Hi,
Yeah, negative Error codes are possible. They usually happen in/for Automation servers. Take a look at what MSDN say about how to convert these error to human-readable form.
http://support.microsoft.com/support/kb/articles/Q186/0/63.ASP
I dont have VB/VC/VStudio 6.0. So my WinError.h
doesnt contain the Err no you specified. Infact i couldn't locate it on the above page also.
So some out-of-the-hat ideas:
1. If you are using any Automation Servers, recompile them also with the new SP3.
Client program on SP3, with Server Program on SP2 could be...
2. I would suspect the Common Controls version diffs. a lot is happening on them, that there could be some inconsistencies.
3. Prepare a installation disk and install your program, so that any minor version diffs of support libraries could be corrected. Dont just copy the exe alone.
4. Or Pass on the complete source, and compile the whole thing again on the client machine, if you can afford it!:-)
Ravi
Found my problem. Apparently Wise Installation Builder, which is supposed to
find dependencies for VB projects missed one or more files that had been updated
by SP3. I made a setup package with the Package and Deployment Wizard that comes
with Visual Studio and it now works fine.
Thanks for the help!
Erik
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.