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.


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


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.


Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!