Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you generate a report in Microsoft FRx: "Run-time error '339': Component 'MSDATGRD.OCX' or one of its dependencies not correctly registered: a file is missing or invalid"


Symptoms

When you generate a report in Microsoft FRx, you receive the following error message.

Run-time error '339': Component 'MSDATGRD.OCX' or one of its dependencies not correctly registered: a file is missing or invalid.


↑ Back to the top


Cause

This error occurs when the MSDATGRD.OCX file does not exist in the Windows system directory.

↑ Back to the top


Resolution

Search for MSDATGRD.OCX in the C:\Winnt\system32 or C:\Windows\system32 folder. If the file is not in the system32 folder, then copy the file from another workstation that has same operating system and service pack level as the affected workstation. Paste the file into the system32 folder of the affected machine and then register it.

For more information about how to register files, see: 8252: Registering DLL Files.

↑ Back to the top


References

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 966119
Revision : 8
Created on : 3/30/2017
Published on : 3/30/2017
Exists online : False
Views : 81