You receive a 339 run-time error for the Mswinsck.ocx file when you try to use the Check Stores feature in Store Operations

Article ID: 900634 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

Symptoms

When you try to use the Check Stores feature to verify the quantity of items in other stores in Microsoft Business Solutions Retail Management System, Store Operations, you receive the following error message:
“Run-time Error 339 'MSWINSCK.OCX or one of its dependencies not correctly registered: a file is missing or invalid”
Note You must be using Headquarters and Store Operations to have access to the Check Stores feature.

Cause

This problem occurs because one of the following conditions is true:
  • The Mswinsck.ocx file is missing.
  • The Mswinsck.ocx file is corrupted.
  • The Mswinsck.ocx file is not correctly registered in Microsoft Windows.

Resolution

To resolve this problem, re-register the file. If you cannot re-register the file that is on the computer, obtain a new copy of the Mswinsck.ocx file and then register the file on the computer. To do this, follow these steps:

Re-register the file

  1. Locate the Mswinsck.ocx file on the computer where the problem occurs. The file is located in the following location:
    C:\Windows\System32
    • If the file is present, follow these steps:
      1. Click Start, click Run, type the following command, and then click OK:
        regsvr32 "C:\WINDOWS\system32\Mswinsck.ocx"
      2. When you receive the following message, click OK:
        DllRegisterServer in C:\WINDOWS\system32\Mswinsck.ocx succeeded
    • If the file is not present or if these steps do not resolve the problem, follow the steps in the next section.

Obtain a new copy and then register the file

  1. Obtain a new copy of the Mswinsck.ocx file. To do this, use one of the following methods:
    • If you have another working computer from which you can copy the Mswinsck.ocx file, copy the file from the following location on that computer:
      C:\Windows\System32
    • If you do not have another working computer from which you can copy the Mswinsck.ocx file, submit a support request to obtain the file.

      Customers

      Microsoft Business Solutions customers who are on the Enhancement plan or who are on a service plan can visit CustomerSource to submit a new support request. To do this, visit the following Microsoft Business Solutions Web site:
      https://mbs.microsoft.com/customersource
      Type your security key to gain access to the site. Click the Support link to visit the Support page. Under Support, click New Support Requests.

      Business Solutions Partners

      Certified Microsoft Business Solutions partners can visit PartnerSource to submit a new support request. To do this, visit the following Microsoft Business Solutions Web site:
      https://mbs.microsoft.com/partnersource
      Type your security key to gain access to the site. On the PartnerSource home page, click the Support link under Resources, and then click New Support Request.

      General Information

      Microsoft Business Solutions customers who are not on plans and other Microsoft partners can submit support requests and can review their support options on the Microsoft Support Web site. To do this, visit the following Microsoft Web site:
      http://support.microsoft.com
  2. Paste the Mswinsck.ocx file in the C:\Windows\System32 folder on the computer where the Check Stores feature is not working.
  3. Click Start, click Run, type the following command, and then click OK:
    regsvr32 "C:\WINDOWS\system32\Mswinsck.ocx"
  4. When you receive the following message, click OK:
    DllRegisterServer in C:\WINDOWS\system32\Mswinsck.ocx succeeded
Note You can send the file over the network. Or, you can save the file to a CD, to an Iomega ZIP drive, to a flash drive, or to any other external media. Contact the network administrator if you require help copying the file.

More information

The Mswinsck.ocx file is the Winsock control module that is used in Microsoft Visual Basic applications to add socket-programming functionality.

Properties

Article ID: 900634 - Last Review: November 2, 2013 - Revision: 3.0
Applies to
  • Microsoft Retail Management System Headquarters 1.3
  • Microsoft Retail Management System Store Operations 1.3
  • Microsoft Retail Management System Store Operations 1.2
Keywords: 
kbnosurvey kbarchive kbmbsmigrate kbprb KB900634

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com