Solved

Error loading ocx file

Posted on 2004-04-18
7
1,056 Views
Last Modified: 2008-03-10
My application uses winsock.
Recently I have had two users who tried to install on windows 2000 reporting an error

"Failed to load control "Winsock" from MSWINSCK.ocx. Your version of MSWINSCK.ocx may be outdated. Make sure you are using the version of the control that was provided with your application.

I have the parameters for my setup saying do not override if exists.

What should I do to solve this problem?
0
Comment
Question by:joeschoe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 7

Assisted Solution

by:IceRaven
IceRaven earned 200 total points
ID: 10852305
Hi joeschoe,

I can think of a couple of things...

If the version the file install in Win2k is older than the version required then your setup will not overwrite it, therefore your would need to overwrite it  if the version was below the verion required.

If the fire does not exist at all it may be that when installed the user did not have access to the c:\winnt\system32 directory.

Hope that helps!

Cheers,
IceRaven
0
 
LVL 57

Assisted Solution

by:Pete Long
Pete Long earned 300 total points
ID: 10852599
OK find MSWINSCK.ocx on your PC as Ice Raven pointed out its probably in c:\winnt\system32 if you find it rename it to MSWINSCK.old then go to http://www.zerohack.it/downloads/ocx.htm where you will find two dated versions of the file, download the first one and put it in the above directory.

Then click start >run > regsvr32.exe c:\winnt\system32\mswinsck.ocx

try again, if it still wont work download the second version from the above link and try again, if it still dont work delete the one you downloaded and rename the original file from .old to .ocx and your back to square one :(

Pete
0
 

Author Comment

by:joeschoe
ID: 10854797
No luck. I went through the procedures as suggested and when running the regsvr32 we get the following error message:

"LoadLibrary("c:\winnt\system32\mswinsck.ocx") failed - The specific module could not be found"

the rename worked so I assume there is no access permission problem with the system32 directory.

Any further channels to investigate?
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 57

Accepted Solution

by:
Pete Long earned 300 total points
ID: 10854840
did you save the downloaded file in the c:\winnt\system32 directory?
0
 

Author Comment

by:joeschoe
ID: 10856368
Yes I did save the downloaded file in the c:\winnt\system32 directory, I have adminitrator rights on the PC.
0
 

Author Comment

by:joeschoe
ID: 10896897
Although none of the answers specifically solved my problem, there was enough information in them to help me diadnose with certainty that there was something fishy with the clients installation.
It turns out they previously removed software which left enough remnants to somehow inhibit further installations.
All the answers helped and so I have split the points.

Thanks to all of you.
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 10902121
ThanQ
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question