add/remove windows components button

G

Guest

When trying to open the add/remove windows component button I receive the
following error message; setup library ocsm.dll could not be loaded or
function OcEntry could not be found, specific error code 0x7e. I have run
windows update shows my system is up to date. Opperating system Windows XP
pro, 768 mb ram, athalon 1000 processor. Quest DSL MSN modem. How can I fix
this problem so the button under add/remove software (button - add/remove
Windows components will open the application window without the error message?
 
R

Ramesh, MS-MVP

Hi David,

Is this the exact error message?

=========================================================
Setup library ocgen.dll could not be loaded, or function OcEntry could not
be found.

Contact your system administrator. The specific error code is 0x7e.
=========================================================

If so, make sure that the ocgen.dll, ocmsn.dll files are present in this
folder:

C:\Windows\System32\Setup
 
G

Guest

the exact message is:
=========================================================
Setup library ocmsn.dll could not be loaded, or function OcEntry could not
be found. Contact your system administrator. Specific error code 0x7e.
=========================================================
This is a home computer, I am the system administrator. If the files
ocgen.dll and osmsn.dll are not in the C:\Windows\system32\Setup folder where
could I get them so that they will read and do what they are supposed to do?
If they are there, what next do I do next to resolve the problem? Can you be
of further assistance? Thanks for trying to help I appreciate it. David
 
R

Ramesh, MS-MVP

David,

If the DLL file is missing, you can extract a copy from Windows XP CD-ROM.

1. Insert the Windows XP CD
2. Click Start/Run and type CMD
3. In the Command Prompt, type this command:

expand X:\i386\ocmsn.dl_ -r C:\windows\system32\setup

Where X:\ is your CD-ROM drive letter. The above command assumes Windows is
installed in C:\ drive. If not, change the drive letter / Path accordingly.

Example:
expand h:\i386\ocmsn.dl_ -r G:\windows\system32\setup


Additional References:

How to expand Windows XP files from the installation disk:
http://support.microsoft.com/default.aspx?scid=kb;en-us;888017

Microsoft Windows XP - Expand:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/expand.mspx
 
G

Guest

You hit my problem right on the head !! and I the solution as well. I had a
different file missing but the error code was the same. Thank You!!! Ramesh
 
G

Guest

When I try to add/remove windows components I get an 0x7e error code.
I've searched and found an article in microsoft database:
http://support.microsoft.com/kb/838860/en-us

My path variable value as the following:

;c:\winnt\system32\;;c:\programas\intel\servermanagement\bin;c:\programas\intel\servermanagement\bin\cli

I would to know if there is anything wrong with this?

Thanks for your attention!!!
 
G

Guest

Problem solved!

The windows directory is not winnt but windows, and the
"c:\windows\system32\wbem\" string was missing.
 
J

John John

The right path should be:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM; ...and
the rest of the varaibles. There is at least one missing in your path.

John
 
J

John John

And here http://support.microsoft.com/kb/838420 it says to add the
;%SYSTEMROOT%\SYSTEM32\WBEM, variable to the path variable, go figure!
These article are written for Server 2003, they don't mention Windows
XP. If it fixed the problem all the better but wether you use the
%systemroot% variable or the actual C:\Windows path I still think you
are missing at least one path variable for XP. As I said if it fixed
the problem all the better, but if you experience other weird behaviour
keep in mind that the XP path usually includes C:\Windows as an
individual path. Your starting path was screwed up, whether or not it
is completely right now is another matter.

John
 
G

Guest

I never mentioned that I had XP installed! The system in question is SBS 2003.
Thansk anyway.
 
J

John John

It might have saved a lot of hassles if you had mentioned that in your
original post! This is a Windows XP group, there are SBS groups but if
you decide to post to a group that isn't for your operating system you
should at least let the readers know from the onset!

John
 
K

Ken Blake, MVP

ZoSo said:
I never mentioned that I had XP installed! The system in question is
SBS 2003. Thansk anyway.


Then you are posting in the wrong newsgroup and wasting everyone's time.
When you ask a question in microsoft.public.windowsxp.general, everyone
assumes that it pertains to Windows XP.
 
G

Guest

this is very very helpful. thank you. but my windows is preinstalled. is
there anywhere i can get a copy of the missing DLL file? by the way, i'm
missing iis.dll.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top