OCX Error 372 (Failed to load control)

Hi All,

We have a legacy vb6 app that is still running.  Every once in a while, we'll get a "failed to load control" <control> from name.ocx.  Your version may be outdated.

We are manifesting the file and there should only ever be one version of the DLL.

Other Factors:  

1)  We are running it off of a mapped drive
2)  Error most commonly appears when a user uses a different computer than the one they are normally logged into.

EG:  User A is logged off, User B logs in, runs app, error.

So far it's not consistently reproducable.  If we wait for a while (approx 15 minutes or so . . . and/or a couple of reboots) the problem goes away.


Information is coming from users so is sporatic and questionable at best . . . but trying to narrow down the places to look.

Thanks in advanced.
LVL 42
Kyle AbrahamsSenior .Net DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vb_elmarCommented:
The user(s) could copy the "application.exe" and the .ocx file to a local folder and then run the copied exe (and the copied .ocx) from that local folder.
0
Kyle AbrahamsSenior .Net DeveloperAuthor Commented:
We're trying to avoid that for easier publishing and what not.  This works for a bunch of other apps but for some reason this decides to bomb . . . some of the time.
0
CodeCruiserCommented:
Could it be antivirus blocking the file?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Kyle AbrahamsSenior .Net DeveloperAuthor Commented:
Nice suggestion CC; but after some more digging we found that a dependant component wasn't being loaded which we believe was causing the issue.  We're waiting to see if the error message comes back up.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vb_elmarCommented:
To get informations about the running processes and all modules that are loaded by the vb6 program try  TaskInfo v10.0.0.336  (2872KB). The program is for Windows and free for personal non-commercial use.
0
Kyle AbrahamsSenior .Net DeveloperAuthor Commented:
Was an issue with one of the dependencies of our component causing an issue.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.