Hi Robert,

Thank you for the explanation.  I see what the error means now.  All of 
the copies of the unirpc32.dll that I find have the same date and size. 
6/27/2005  45,056 bytes.

Here's an odd thing.  I've been digging through the dependency list (VB5) 
and the file list (VB.NET).  VB.NET only references UODOTNET.dll.  VB5 is 
referencing   UNIOLEDB.dll and uniobjects.dll.  Neither program directly 
references UNIRPC32.dll.  I assume that one of the listed DLLs is 
requiring the UNIRPC32.dll, although I would have still expected to see it 
in the dependency list. 

Since the error is happening at install time, then it looks to me like the 
problem is in the build phase.  Assuming there are no version differences, 
which I am pretty sure there aren't, then something in the link phase is 
getting the offset, or dll  "wrong."

By the way, thanks for helping.  This is really more of a VB issue than a 
U2 issue.
 
Charles Shaffer
Senior Analyst
NTN-Bower Corporation


Hi Charles,

Native NT dlls expose the entry points to publicly exposed methods in a 
table.  The named methods are mapped to that table. When you link to a 
method in a dll, the compiler loads the external dll, looks up your method 
in the table, and actually links to it by the ordinal offset of the entry 
point in the table.  The error message really suggests that the two 
systems have different copies of UNIRPC32.dll.  Go to the root of your C: 
drive (and any other drive you might have Universe on) and type this 
command:

Dir /a /s unirpc32.dll

This will find any copies of the dll you might be referencing.  Compare 
the dates and sizes of the dll between the two systems.

Note: the description above is actually a minor oversimplification of what 
happens, but illustrates why you would get this error message.

HTH,

Yes.  Both machines are running XP and both programs were built on XP. The
big difference is that one was developed with Visual Basic 5 and the other
was developed with VB.NET and VS 2005.  The libraries would definitely be
different between those two environments.  I am just not sure what the
error message means.  There are lots of references to that error on the
Internet, but nothing explains what the error means.

The error makes me suspect that there are multiple versions of the DLL,
but there isn't.  What is ordinal 36?  And why is it expecting to find it
in UNIRPC32.dll?

Charles Shaffer
Senior Analyst
NTN-Bower Corporation


The obvious first question is "Is the operating system the same on the
new machine as it was on the old?"

My shot in the dark is that it sounds like a library issue, and if you
were moving from W2003 to W2008, that could be the pointer to your
answer.

Even if you went from, say Win2003 to Win2003 R2 there can be subtle
differences (as we recently found with W2008 vs W2008 R2)

Ross Ferris
Stamina Software
Visage > Better by Design!


>I am attempting to move an application to a new machine and I have been
>receiving the following errors while installing the application from a
>package.
>
>The ordinal 36 could not be located in the dynamic link library
>UNIRPC32.dll.
>The ordinal 88 could not be located in the dynamic link library
>UVCLNT32.dll.
>
>Both of the DLLs are in C\WIndows\System32.
>
>The application was developed using VB5.  It pulls information from our
>Unidata 7.1 database.  The new host machine is running XP.  The
>application is running fine now on another XP machine now, we are just
>trying to move it.
>
>There is already another application on the new host machine that also
>accesses data from Unidata.  This application was developed in VB.NET
>2005.  It has been running fine for a long time and still is as far as
I
>know.  (I'm afraid to check)
>
>Has anyone seen errors like this before and if so, do you know what the
>errors are trying to tell me?  Is there a conflict with the versions?
>If
>I ignore the errors, the application seems to install, and start up OK.
>Haven't done any thorough testing yet.
>
>Charles Shaffer
>Senior Analyst
>NTN-Bower Corporation


_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to