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 41
Kyle AbrahamsSenior .Net DeveloperAsked:
Who is Participating?
Kyle AbrahamsConnect With a Mentor Senior .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.
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.
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.
Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

CodeCruiserConnect With a Mentor Commented:
Could it be antivirus blocking the file?
vb_elmarConnect With a Mentor Commented:
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.
Kyle AbrahamsSenior .Net DeveloperAuthor Commented:
Was an issue with one of the dependencies of our component causing an issue.
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.

All Courses

From novice to tech pro — start learning today.