-
1 Attachment(s)
Hmm... Try this info...
Code:
What is "Unexpected error" or "Error 50003"?
Usually the result of a different version of an OCX on which your application depends being registered since you installed it, ie. if your app uses Acme's OCX release 2, and the user installs another app that replaces this OCX with release 1 (on Windows won't stop them), your application will stop working, and problably complain with Err 50003. This usually occurs with Microsoft's common controls (the enhanced widgets that came with Win9x, the standard dialog boxes like OpenFile, etc.) FYI, Microsoft have issued different, sometimes incompatible, versions of comctl32.ocx, comdlg32.ocx, comct232.ocx, and comct332.ocx, without changing their GUID.
Note that some OCXs themselves require other components to work, so simply copying a given OCX from your \\system32 onto another computer won't do much good. Also, not all OCX providers enforce binary compatibility, effectively breaking any app that were compiled to work with a previous version of said OCX. If you want to investigate, Squealer looks interesting.
Another utility is Regmon from System Internals which is a tool for monitoring accesses to the registry. Use Regmon to capture all registry access when the application is run, up to the point where the error is produced. Look for where an ‘OpenKey’ request fails. Experience has indicated that the following are significant:
HKCR\\CLSID\\NN..NN\\InprocServer32
HKCR\\TypeLib\\NN..NN
For each of these ‘NN..NN’ indicates the class sid of a missing COM object. On a machine where this COM object is available (possibly contact the original developer of the COM object) locate this class sid in the registry, this will reveal the full pathname of the missing item. Obtain a copy and use regsvr32 to register it.
Yet another way to check which OCX is causing this issue is to build a dummy project that only contains references to all the OCX you need, and use this kind of code to see if you can recreate the error:
Set myVar=New ActiveXType
Or
Set myVar=CreateObject(ActiveXType)
Squealer (addisonsw.com) is commercial, and looks to be the easiest one to diagnose the problem... the other program gave me the following log upto the time of the unexpected error.....
-
There is a program out there called dependency walker, it's freeware and works pretty well:
http://www.dependencywalker.com/
-
Hmm dependencywalker is very useful!
It gave me an error on msjava.dll, which I then downloaded and registered, and now it is giving me an error related to mpr.dll.... I have this dll, however I always get an error when I try registering the dll... I wonder whats up... anyone else have ideas?
-
i'm using VB6.
But i cant (even with dependencywalker) figure out what's this file causing errors.
Please check out if you have MSxml version 2 installed, it's not in setup program, but its needed. I'm thinking that msxml version 2 is by default on every machine but it can be false.
-
after checking again, it seems that NMC is using msxml3, not msxml2.
RoyN have you MSN ? It will be better to make some tests.
-
mpr.dll is a very 'low level' system file, so you probably can't (un)register it at all, I believe it provides network communications between the Windows interface and network drives from what I remember, but might be wrong on that one. Do you have XP SP2 installed by any chance, or could it be a permissions issue?
-
i'm on XP pro SP2 with no problems..
-
I've also updated neocar installer.
So please download the same file again to check if you have errors (some guys on french forum had errors trough file copying)
-
There's problem with installer! When i start installer it send message like this:
The language DLL 'VB6FR.DLL' could not be found
try to run w2k pro and hardware 1800Mhz AMD Athlon XP, 512MB DDR, GeForce 4 MX 64MB.
-
netsuo: roynasser (@) hotmail. com
I'm also on XP+SP2... I'm gonna check out where I can get an installer for msxml3
UPDATE: Downloaded msxml3... still error...