Microsoft KB Archive/162124

= CG3: Clip Gallery General Troubleshooting Tips Part 1 of 2 =

Article ID: 162124

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Clip Gallery 3.0
 * Microsoft PowerPoint 97 Standard Edition
 * Microsoft Word 97 Standard Edition
 * Microsoft Excel 97 Standard Edition

-



This article was previously published under Q162124



IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.



SUMMARY
This article contains information to help you troubleshoot problems you may encounter when you start Microsoft Clip Gallery from another program. This article covers the following types of errors:


 * Server Application or Source File cannot be found
 * Invalid Page Fault in module 
 * General Protection Fault in Module 
 * Clip Gallery can not run because the database has been marked read-only
 * Clip Gallery does not start and no errors are displayed

This article is the first of two articles that provide troubleshooting information for Clip Gallery. For additional information, please see the following article in the Microsoft Knowledge Base:

162128 CG3: Clip Gallery General Troubleshooting Tips Part 2 of 2

If your topic is not covered in this article, query on the article title in the Microsoft Knowledge Base.



MORE INFORMATION
Although you can start with any of the following troubleshooting techniques, Microsoft recommends that you start at the top of the list and continue troubleshooting until your problem is resolved or diagnosed.

Does Clip Gallery Function Correctly in Another Program?

 * 1) Start WordPad. To do this, click the Start button, point to Programs, point to Accessories, and click WordPad.

NOTE: You can use any program that has an Insert Object command to run the tests. In this article, WordPad was chosen to perform the Clip Gallery tests because it comes with Windows 95 and Windows NT 4.0.
 * 1) On the Insert Menu, click Object, and then click Microsoft Clip Gallery. Click OK.

If Clip Gallery starts from another program, Clip Gallery is functioning properly. Your troubleshooting steps should now focus on the client program (the program you are trying to use Clip Gallery with). Please consult your documentation to troubleshoot the client program.

If Clip Gallery does not start, proceed to the next section.

Does Clip Gallery Run from the Compact Disc?
NOTE: If you have Publisher 97 on floppy disks, proceed to the "Test for a Corrupted Artgalry.cag File" section of this article.

 Insert the Publisher 97 or Office 97 compact disc into the CD-ROM drive. Start Windows Explorer and switch to the Shared\Artgalry folder on the compact disc. For example, if your CD-ROM drive is drive D, go to D:\Shared\Artgalry. Double-click Artgalry.exe from the compact disc. This registers the program as a shared application in the registry of the operating system.

NOTE: If you receive an error message when you try to register Artgalry.exe from the compact disc, you may be experiencing problems with the registry or with the compact disc. Start WordPad. To do this, click the Start button, point to Programs, point to Accessories, and click WordPad. On the Insert Menu, click Object, and then click Microsoft Clip Gallery. Click OK.</li> If Clip Gallery starts from the compact disc, the copy of Artgalry.exe on your hard disk may be corrupted.

To copy the contents of the Artgalry folder to your hard disk, follow these steps:

<ol style="list-style-type: lower-alpha;"> Copy the contents of the Shared\Artgalry folder (except the Artgalry.cag file, which is already on your hard disk), to the Program Files\Common Files\Microsoft Shared\Artgalry folder.</li> Double-click the Artgalry.exe file to register the copy on your hard disk.</li></ol> </li> To see if Clip Gallery now runs from your hard disk, follow these steps:

<ol style="list-style-type: lower-alpha;"> Click the Start button, point to Programs, point to Accessories, and click WordPad.</li> On the Insert Menu, click Object, and then click Microsoft Clip Gallery. Click OK.</li></ol> </li></ol>

If Clip Gallery does not run, proceed to the next section.

Test for a Corrupted Artgalry.cag File
<ol> Rename the Artgalry.cag file. To do so:

<ol style="list-style-type: lower-alpha;"> Find the Artgalry.cag file. This file is usually located in the Program Files\Common Files\Microsoft Shared\Artgalry folder.</li> Right-click the file icon, click Rename on the shortcut menu, and then enter a new name, such as Artgalry.old.</li></ol> </li> Try starting Clip Gallery again. To do so:

<ol style="list-style-type: lower-alpha;"> Start WordPad. To do this, click the Start button, point to Programs, point to Accessories, and click WordPad.</li> On the Insert menu, click Object.</li> In the Object Type list, click Microsoft Clip Gallery, and then click OK. NOTE: If the Artgalry.cag file is missing, Clip Gallery creates a new one when you start Clip Gallery. Artgalry.cag is a database file that stores the clip preview images and catalogs the location of each image. Clips you may have manually added to Clip Gallery from other sources are now unavailable. However, this does not remove clipart from Office 97, PowerPoint 97, or Publisher 97, because these programs use concurrent databases and are not affected if you delete the Artgalry.cag file.

For more information on creating a custom Artgalry.cag, please see the following article in the Microsoft Knowledge Base:

161718 CG3: Creating Clip Gallery Packages

</li></ol> </li></ol>

If Clip Gallery does not run, proceed to the next section.

Check the Registry Entries for Clip Gallery
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.

If you are running Windows NT or Windows 2000, you should also update your Emergency Repair Disk (ERD).

NOTE: The following steps assume you are running Windows 95 or Windows NT 4.0, or Windows 2000. (If you are running Windows NT 3.51, substitute regedt32.exe in step 1.)

<ol> On the Start menu, click Run. Type regedit in the Open box, and then click Open. This starts the Registry Editor.</li>  Locate the following registry key: <pre class="fixed_text">     My Computer\HKEY_CLASSES_ROOT\MS_ClipArt_Gallery\CLSID <ol style="list-style-type: lower-alpha;"> Double-click the HKEY_CLASSES_ROOT key. The key looks similar to a folder you would see in Windows Explorer.</li> <li>Double-click the MS_ClipArt_Gallery key. You may need to scroll through the Registry Editor window to find the key.</li> <li>Click the CLSID key.</li> <li> Verify the value of the key. The MS_ClipArt_Gallery\CLSID key should have the following data value: <pre class="fixed_text">         Name        Data (Default)  "{00030026-0000-0000-C000-000000000046}" </li></ol> </li> <li> Locate the following registry key: <pre class="fixed_text">     My Computer\HKEY_CLASSES_ROOT\MS_ClipArt_Gallery\protocol\ StdFileEditing\server Verify the value of the key. The MS_ClipArt_Gallery\protocol\ StdFileEditing\server key should have the following data value: <pre class="fixed_text">     Name        Data (Default)  "C:\PROGRA~1\COMMON~1\MICROS~1\ARTGALRY\ARTGALRY.EXE" </li> <li> Locate the following registry key: <pre class="fixed_text">     My Computer\HKEY_CLASSES_ROOT\MS_ClipArt_Gallery.2\CLSID Verify the value of the key. The MS_ClipArt_Gallery.2\CLSID entry should have the following data value: <pre class="fixed_text">     Name        Data (Default)  "{00021290-0000-0000-C000-000000000046}" </li> <li> Locate the following registry key: <pre class="fixed_text">     My Computer\HKEY_CLASSES_ROOT\MS_ClipArt_Gallery.2\protocol\ StdFileEditing\server Verify the value of the key. The MS_ClipArt_Gallery.2\protocol\ StdFileEditing\server entry should have the following data value: <pre class="fixed_text">     Name        Data (Default)  "C:\PROGRA~1\COMMON~1\MICROS~1\ARTGALRY\ARTGALRY.EXE" The Data value should be the path to your Artgalry.exe file.

NOTE: The path uses MS-DOS names. This is why you are seeing PROGRA~1 instead of the long name: Program Files. </li> <li> Locate the following registry key: <pre class="fixed_text">     My Computer\HKEY_CLASSES_ROOT\CLSID\ {00021290-0000-0000-C000-000000000046}\LocalServer32 Verify the value of the key. The LocalServer32 entry should have the following data value: <pre class="fixed_text">     Name        Data (Default)  "C:\PROGRAM FILES\COMMONFILES\                   MICROSOFT SHARED\ARTGALRY\ARTGALRY.EXE" This path uses long file names. </li> <li>Export the Clip Gallery Keys.

If any registry entries for Clip Gallery are invalid (for your specific computer and its drive structure) or are missing, you should remove the complete registry keys for Clip Gallery, and then restore them.

NOTE: If all Clip Gallery registry keys are correct, proceed to the next section.

<ol style="list-style-type: lower-alpha;"> <li> Locate the following key: <pre class="fixed_text">         My Computer\HKEY_CLASSES_ROOT\CLSID\ {00021290-0000-0000-C000-000000000046} </li> <li>On the Registry menu, click Export Registry File. The Export Registry File dialog box appears.</li> <li>Save the Registry file on your desktop, and name it Clsidcag3.reg or something similar.</li> <li> Locate the following key: <pre class="fixed_text">         My Computer\HKEY_CLASSES_ROOT\MS_ClipArt_Gallery </li> <li>On the Registry menu, click Export Registry File.</li> <li>Save the Registry file on your desktop. Use a name, such as Cag1.reg.</li> <li> Locate the following key: <pre class="fixed_text">         My Computer\HKEY_CLASSES_ROOT\MS_ClipArt_Gallery.2 </li> <li>On the Registry menu, click Export Registry File.</li> <li>Save the Registry file on your desktop and name it Cag2.reg.</li></ol> </li> <li>Delete the Clip Gallery Keys.

NOTE: If you have not exported the Clip Gallery Keys, follow the instructions in step g of this section, and export the keys before you continue.

<ol style="list-style-type: lower-alpha;"> <li> Locate the following key: <pre class="fixed_text">         My Computer\HKEY_CLASSES_ROOT\ CLSID\{00021290-0000-0000-C000-000000000046} </li> <li>Press DELETE, and then click Yes on the Confirm Key Delete dialog box to delete the entry.</li> <li> Select the following key: <pre class="fixed_text">         My Computer\HKEY_CLASSES_ROOT\MS_ClipArt_Gallery </li> <li>Press DELETE, and then click Yes to delete the entry.</li> <li> Select the following key: <pre class="fixed_text">         My Computer\HKEY_CLASSES_ROOT\MS_ClipArt_Gallery.2 </li> <li>Press DELETE and then click Yes to delete the entry.</li> <li>After you remove the Registry entries, start Windows Explorer and locate the Program Files\Common Files\Microsoft Shared\Artgalry folder. Double-click the Artgalry.exe file. This registers the Clip Gallery with correct entries.</li></ol> </li> <li>Try to start Clip Gallery again. If it does not start, proceed to the next section.</li></ol>

For additional information about the Registry, please see the following articles in the Microsoft Knowledge Base:

138100 ClassId Numbers for Shared Applications

134863 OFF: How to Reregister Shared Programs in Office 95 & 97

Does Clip Gallery Work in Safe Mode? (Windows 95 only)
NOTE: If you are running Windows NT, skip this section and proceed to the "Check the Dates of the OLE32 DLL Files" section.

<ol> <li>Quit any programs you are running.</li> <li>Click Start, and then click Shut Down to display the Shut Down Windows dialog box.</li> <li>On the Shut Down Windows dialog box, click Restart The Computer.</li> <li>When you see "Starting Windows 95" as the computer starts, press F8 to display the Microsoft Windows 95 Startup Menu.</li> <li>Choose item #3 (Safe mode) on the menu. This starts Windows 95 in Safe Mode without network support. After you are running in Safe Mode, the words Safe Mode appear in all four corners of the screen.

NOTE: If you are running a shared copy of Microsoft Office, choose item #4 (Safe mode with network support) to test the problem.</li> <li>After Windows 95 starts in Safe mode, open WordPad. Click Start, point to Programs, point to Accessories, and then click WordPad.</li> <li>Start Microsoft Clip Gallery.

<ol style="list-style-type: lower-alpha;"> <li>On the Insert menu, click Object.</li> <li>In the Object Type list, click Microsoft Clip Gallery, and then click OK.</li></ol>

If Clip Gallery does not start, skip to the "Check the Dates of the OLE32 DLL Files" section. If Clip Gallery starts, then restart Windows 95, letting it restart normally.</li> <li>Change your Display Adapter to VGA.

Safe mode bypasses the current real-mode configuration and loads a minimal protected-mode configuration, disabling Windows 95 device drivers and using the standard VGA display adapter.

If Clip Gallery starts in Safe mode, you may be experiencing a conflict with your display adapter. Use the following test to determine if a conflict exists with your display adapter.

<ol style="list-style-type: lower-alpha;"> <li>After Windows 95 restarts, click Start, point to Settings, and click Control Panel.</li> <li>In Control Panel, double-click the Display icon.</li> <li>Click the Settings Tab, and then click Change Display Type.</li> <li>Write down your Adapter Type and its Manufacturer so you will be able to properly reset it after this troubleshooting step.</li> <li>Click Change (to the right of the Adapter Type entry), and then click Show All Devices. Scroll to the top of the Manufacturers list and click Standard Display Types to select Standard Display Adapter(VGA). Click OK, and then click Close in the Change Display Type dialog box. Click Apply in the Display Properties window. Click Yes when you are prompted to restart Windows.</li> <li>After Windows 95 starts with VGA screen resolution, start WordPad. Click the Start button, point to Programs, point to Accessories, and then click WordPad.</li> <li>Try starting Clip Gallery again. On the Insert Menu, click Object, and then click Microsoft Clip Gallery. Click OK.</li></ol> </li></ol>

If Clip Gallery starts, you may be experiencing problems with the display driver for your video card. Contact the manufacturer of your display card or computer, or contact Windows 95 Technical Support or the OEM Manufacturer that pre-installed Windows 95 for an updated version of the video driver.

If Clip Gallery still does not start, proceed to the "Check the Dates of the OLE32 DLL Files" section.

NOTE: To restore your original video driver settings, follow steps 8a, 8b, and 8c. In step 8e, select the Adapter Type and Manufacturer that you wrote down previously. If your driver isn't on the list, click Show All Devices and scroll up the list until you find it. Click OK, and then click Close on the Change Display Type dialog box. Click Apply in the Display Properties window. Click Yes when you are prompted to restart Windows. Your computer should restart with the original driver, and you can adjust the display settings to your original resolution and color depth.

For additional information on Safe Mode, please see the following article in the Microsoft Knowledge Base:

156126 Troubleshooting Windows 95 Using Safe Mode

Check the Dates of the OLE32 DLL Files
Clip Gallery requires several OLE32 files. If any of these files are corrupted or missing, Clip Gallery will not function properly. The following table lists the OLE32 files initially installed by the three operating systems under which Clip Gallery can run. <pre class="fixed_text">  OLE32 File        Win95      Win NT 3.51     Win NT 4.0

Compobj.dll     7/11/95       5/26/95        8/2/96 Ddeml.dll       7/11/95       5/26/95        8/2/96 Ole2.dll        7/11/95       5/26/95        8/2/96 Ole2conv.dll    7/11/95       5/26/95        8/2/96 Ole2disp.dll    7/11/95       5/26/95        8/2/96 Ole2nls.dll     7/11/95       5/26/95        8/2/96 Ole32.dll       7/11/95       5/26/95        8/2/96 Olecli.dll      7/11/95       5/26/95        8/2/96 Olecli32.dll    7/11/95       5/26/95        8/2/96 Olecnv32.dll    7/11/95       5/26/95        8/2/96 Oledlg.dll      7/11/95       5/26/95        8/2/96 Olesvr.dll      7/11/95       5/26/95        8/2/96 Olesvr32.dll    7/11/95       5/26/95        8/2/96 Olethk32.dll    7/11/95       5/26/95        8/2/96 Storage.dll     7/11/95       5/26/95        8/2/96 Toolhelp.dll    7/11/95       5/26/95        8/2/96 Typelib.dll     7/11/95       5/26/95        8/2/96 NOTE: The above dates are for a clean installation of each operating system. System updates, service packs, and other component upgrades install files with the same names, but with different dates. Refer to the Readme file that accompanied the system update, service pack, or upgrade to compare with the dates in the table.

If any of the files do not have appropriate dates for your operating system and system upgrades, you may have damaged files or an incompatibility because of mismatched DLL files.

Follow these steps to replace your OLE32 files:

<ol> <li>Restore the DLLs from the Sysbckup folder (Windows 95 only).

Some of the OLE32 files can be restored from the Sysbckup folder. This must be done in MS-DOS mode because Windows may be using some of the files for other operations.

NOTE: The system backup (Sysbckup) folder is located in the folder in which you installed Windows 95. (Windows NT does not have a Sysbckup folder.)

<ol style="list-style-type: lower-alpha;"> <li>Click Start, and then click Shut Down. This opens the Shut Down Windows dialog box.</li> <li>On the Shut Down Windows dialog box, click "Restart the computer in MS-DOS mode?" to restart your computer in MS-DOS mode.</li> <li> Switch to the Windows\Sysbckup folder and type the following command: <pre class="fixed_text">         COPY *.DLL C:\WINDOWS\SYSTEM\*.DLL This copies the DLL file in the Windows\Sysbckup folder to the Windows\System folder. This may contain the mismatched DLLs that are causing the problem. </li> <li>After you copy the files, restart your computer, and let Windows 95 start normally.</li> <li>Test to see if Clip Gallery starts within WordPad.

Start WordPad from the Start menu and start Microsoft Clip Gallery from the Insert menu.

If Clip Gallery does not start, then the replacement files did not fix the problem. You must rename the DLL files and either manually extract the files from your original installation source or reinstall Windows 95.</li></ol> </li> <li>Extract the OLE32 DLL files from your Windows compact disc.

WARNING: The following procedure involves manually replacing DLLs. If you are not experienced with manual extraction procedures or have an OEM installation of Windows 95, you may want to simply reinstall Windows 95. Incorrectly replacing OLE modules can result in more problems than it resolves. If you are unsure of the following steps, please contact Windows 95 Technical Support or the OEM Manufacturer that pre-installed your operating system.

Extract the files into the Windows\System folder, replacing every file in the OLE32 file table.

For additional information about extracting files from the Windows 95 .cab files, please see the following articles in the Microsoft Knowledge Base:

132913 How to Use EXTRACT.EXE to Copy Files from DMF Disks

</li></ol>

135540 Windows 95 CD-ROM Directory Listing (1 of 5)

135537 Windows 95 CD-ROM Directory Listing (2 of 5)

135538 Windows 95 CD-ROM Directory Listing (3 of 5)

135539 Windows 95 CD-ROM Directory Listing (4 of 5)

135541 Windows 95 CD-ROM Directory Listing (5 of 5)

135542 Windows 95 DMF Floppy Disk Directory Listing (1 of 4)

135545 Windows 95 DMF Floppy Disk Directory Listing (2 of 4)

135544 Windows 95 DMF Floppy Disk Directory Listing (3 of 4)

135543 Windows 95 DMF Floppy Disk Directory Listing (4 of 4)

<ol style="list-style-type: lower-alpha;"> <li>After you copy the files, restart your computer, and let Windows 95 start normally.</li> <li>Click Start, point to Programs, point to Accessories, and then click WordPad.</li> <li>On the Insert menu, click Object.</li> <li>In the Object Type list, click Microsoft Clip Gallery, and then click OK.</li></ol>

If Clip Gallery still does not start, then the problem is most likely with the operating system. This might require that you reinstall Windows 95 or you may have to reformat your hard disk and reinstall all of your programs. At this point, Microsoft recommends that you contact Windows Technical Support or the OEM Manufacturer that pre-installed Windows on the computer.

Additional query words: 1.0 1.1 3.00 CAG Clipart Gallery 8.00 ppt8 powerpt powerpnt off97 Office msoffice mspub pub4 w_mspub GPF errmsg

Keywords: kbenv kberrmsg kbinfo kbtshoot KB162124

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.