Thanks
Gary McFarling
Sr. Software Engineer II
North Dakota, Workforce Safety & Insurance
701-328-6013
This site has a good explanation of the problem (click on the link and then
down two pages to the bit about Common Controls)
http://www.angelfire.com/biz/rhaminisys/vboledll.html#FixControls
Hope this helps.
The Peasant
"Gary" <Ga...@discussions.microsoft.com> wrote in message
news:5C7B1806-A7E7-46EA...@microsoft.com...
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
(unexpected error) 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.
"Steve Z" <szu...@gmail.com> wrote in message
news:1180710685.8...@w5g2000hsg.googlegroups.com...
The problem is that this issue is not readily reproducible, and simply
rebooting the PC or repeatedly retrying the application launch will
"fix" it.
We have a number of users that have only gotten this error once.
Others get it maybe once a week. Others once a day. Others never.
They all have the same version of this OCX, and have had this same
version since before this issue started.