Re: VB6 Run-time errors after microsoft patches and updates



On Apr 26, 10:22 am, szu...@xxxxxxxxx wrote:
On Apr 25, 7:00 pm, Gary <G...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:



HI,
We are running some VB6 automations that allow folks to take FileNet OCX
control treeview items and register them to a corporate RDBMS database
through ADO ODBC Oracle 9i. On the 14th we placed a series of new Microsoft
patches on the users PC's and all of a sudden we started getting
"FormsOutSearch - Unanticipatederror: Component 'MSDATGRD.OCX' or one of its
dependencies not correctly registered: as file is missing or invalid" - or -
we get "Run-timeerror'339' Component 'MSADODC.OCX' or one of its
dependencies not correctly registered: a file is missing or invalid" - or -
we get "Runtime-error'713': Class not registered. You need the following
file to be installed on your machine. MSSTDFMT.dll"
As remedy we have exhausted all we know and the only thing we know that
works is to take the ghost of the machine from before the update and use it
with that user's profile for updates shut off. That is not a very good
solution so can someone help me troubleshoot what recent patches may be doing
to clobber the ADO component set? Further more what can we do to get our
indexers back to running with all the security patches applied?
I have had some responses from other groups across the internet on this so
let me start off by saying that we have the animated cursor patch isolated as
the direct culprit for this intermittent behavior. If we uninstall that
patch the thing starts working bug free. We have had viruses in the company
(not in this area) so we have opted to keep trying to get this patch on. We
have had patch patches from Microsoft, but they too are causing the same
results.
My call out is to see if anyone has this exact situation and to collaborate
the remedy with you. If you are not experiencing this please don't respond.

Thanks

Gary McFarling
Sr. Software Engineer II
North Dakota, Workforce Safety & Insurance
701-328-6013

We have about 30 tablet PCs running a VB 6 app that uses ADO to access
local SQL Express 2005 tables. Starting maybe 2 or 3 weeks ago we
started randomly getting rte 339 on MSADODC.OCX or rte 50003
(unexpectederror) on application start. I'm pretty sure the error is
bogus, because simply reattempting to start the application a few
times usually eventually succeeds. Rebooting also seems to help. The
really confusing thing is that all of these tablets were created using
the same image but only maybe 20% of them are having this issue. I am
currently waiting for one of the users that gets it often enough to
make it possible for me to troubleshoot to bring me his tablet. I
will post more when/if I learn anything.

This just keeps getting stranger. I have now looked at two tablets
and got the same result from each.
This is the scenario 90% of the time:

1. Turn on the computer. Try to start my application. Get error
50003.
2. Try a million things, INCLUDING a complete uninstall and reinstall
of the application, various debug versions, etc. Still get error
50003.
3. Reboot (Start>Shutdown>Restart). Try to start my application.
Success.

There are exceptions to this. Sometimes once I have done the warm
reboot I can no longer get the error 50003 to occur again even after a
cold start, and sometimes it will take several warm reboots to "fix"
it.
I'd think it was an OCX or DLL version mismatch, as is commonly the
cause of this error, but I think I can rule that out since rebooting
usually fixes this (for a while).
It reeks of something to do with the order or timing of the machine
boot process, but for the life of me I can't see how that would effect
my app that might not get started until an hour after the boot process
is done.
I even upped the RAM in one of the tablets to a gig. No help.
I have an error handler at the very top of the form load event for the
main form and it is not trapping this error, so it is occurring before
the first line of my code executes.
Totally baffled. Anyone have even the most far-fetched idea I'd be
more than happy to hear it.

.



Relevant Pages

  • hfnetchk reporting
    ... "Patch NOT Found" after applying the appropriate patches and rebooting. ... seem to be consistent of both NT and 2000 (though I haven't replicated this ...
    (Focus-Microsoft)
  • Re: KB958644 keeps kicking me off line.
    ... as I downloaded the patch and rebooted, my intel wireless pro icon went ... If I hadn't just downloaded the patch, I would have been more concerned. ... connection from control panel/networking, and I got on once, albeit a slow ... I tried rebooting several times and never got on again. ...
    (microsoft.public.windowsupdate)
  • Re: DC floods LAN
    ... The first time around I don't remember which patches they were, ... I guess a workaround is to ensure rebooting any server twice rather than ... I have not seen this, but FYI, TCP and UDP port 42 are the WINS replication ... WINS uses these ports for communication between replication partners. ...
    (microsoft.public.windows.server.networking)
  • RE: Sasser on Virtual PC for Mac
    ... I can't use VPC or my Mac OS. ... This MS04-011 patch WILL resolve the issue on the Windows Installation on the Virtual PC. ... This will stop the system from rebooting long enough for you to download the MS04-011 patch and the cleaner tool. ...
    (microsoft.public.security.virus)
  • Re: Exchange server hangs on Applying Computer Setting when attempting to join a domain.
    ... after rebooting from a patch. ... We then installed ACPBE and uninstalled it, ... The 9/27 patch has been uninstalled, with no change in the server. ...
    (microsoft.public.exchange.admin)