OFF97: Unable to Insert CGM File Running Under Windows NT

ID: Q172921


The information in this article applies to:


SYMPTOMS

When you insert a Computer Graphics Metafile (CGM) file in a Microsoft Office program, the Basic Options dialog box appears. When you click OK, the Convert File dialog box appears displaying a list of graphics file types. If you select Computer Graphics Metafile, you receive the following error message:

An error occurred while importing this file. <filename>
where <filename> is the full path and file name of the CGM file being inserted.

If you select anything other than Computer Graphics Metafile, the Basic Options dialog box will appear again. If you click OK, you will receive the same error message.

NOTE: Your symptoms may vary. For example, the dialog boxes may not appear in the same order listed. In Microsoft Access, you do not receive an error message when you try to insert a CGM file, but the insert does not succeed.


CAUSE

This behavior occurs if the following are true:


RESOLUTION

To insert a CGM file, you must either have Administrator permissions for the registry, or your permissions for the HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Graphic Filters\Import\CGM registry key must be set to Full Control.

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

Follow these steps to set Full Control permissions for the CGM registry key:

  1. Log into Windows NT as Administrator.


  2. Click Start, and then click Run.


  3. In the Open box, type "regedt32" (without the quotation marks), and then click OK.

    This will start the 32-bit version of the Registry Editor. If you run Regedit.exe instead of Regedt32.exe, you cannot change the registry security permissions.


  4. In the Registry Editor, click the window titled HKEY_LOCAL_MACHINE.


  5. Select the following registry key:
    
           HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Graphic
           Filters\Import\CGM 


  6. On the Security menu, click Permissions.


  7. In the Registry Key Permissions dialog box, click the "Replace Permission on Existing Subkeys" check box.


  8. In the Name list, double-click Everyone.


  9. In the Special Access dialog box, click Full Control (All).

    This will change the permissions from Special Access to Full Control for the key and all its subkeys.


  10. Click OK twice.


  11. Close the Registry Editor.


After completing these steps, anyone that logs in at this computer will be able to insert CGM files.


STATUS

Microsoft has confirmed this to be a problem in Microsoft Office 97 when running under Windows NT versions 3.51 and 4.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

This behavior does not occur with any of the other graphics filters.

Additional query words: OFF97 8.0 Cgmimp32.flt, Cgmimp32.fnt, Cgmimp32.cfg, Cgmimp32.hlp permissions rights registry


Keywords          : 
Version           : WINDOWS:97; winnt:3.51,4.0
Platform          : WINDOWS winnt 
Issue type        : kbbug 

Last Reviewed: May 25, 1999