Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2048
  • Last Modified:

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.
0
Kyle Abrahams
Asked:
Kyle Abrahams
  • 3
  • 2
3 Solutions
 
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
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

 
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
 
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

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now