Microsoft KB Archive/148601

PPT4: The Shared Code File Could Not Be Found Error

PSS ID Number: Q148601 Article last modified on 05-16-1998

macintosh:3.0,4.0

MACINTOSH

================================================================ ==

The information in this article applies to:

 Microsoft PowerPoint for Macintosh, versions 3.0, 4.0 Microsoft ClipArt Gallery for Macintosh, version 1.1 == Microsoft Organization Chart for Macintosh, version 1.0 == 

= SYMPTOMS =

When you attempt to start a program that uses the Shared Code Manager (such as ClipArt Gallery, Microsoft Organization Chart, and so on) you may receive a message similar to the following:

The shared code file could not be found. Would you like to look for it?

At this point two buttons are available: Cancel and Look. If you look for the DLL and select it, the Shared Code Manager will work correctly for that session. However, each subsequent time you attempt to load the program, you are prompted again to find the DLL.

= CAUSE =

The DLL file mentioned in the message may have become corrupted, or it has been deleted or moved.

= WORKAROUND =

To work around this problem, use the following troubleshooting steps:

  Verify that the Shared Code folder is located in the Extensions folder. The Shared Code Manager is an extension that loads the dynamic-link library (DLL) files stored in the Shared Code Folder. The Shared Code Manager looks for the Shared Code folder in the Extensions folder.   Check the contents of the Shared Code folder. The Shared Code folder should contain the following items: Name Size ——————————– OLE Client DLL 65,592 bytes OLE Reg DLL 13,447 bytes OLE Server DLL 26,934 bytes   Rebuild the Desktop. If the Desktop file is damaged, the Shared Code Manager may not be able to locate the DLL files. To do this: NOTE: If you are using System Software prior to 7.5 skip to step b.   Disable all extensions and control panels except Macintosh Easy Open in the Extensions Manager control panel. </li>  Restart the computer while holding down the OPTION and COMMAND keys. This brings up a dialog box that asks you if you are sure you want to rebuild the desktop file. </li>  Click OK to perform the rebuild. </li>  Once the desktop has been rebuilt, open the Extensions Manager control panel and restore your previous extension set. </li></ol> </li>  Test for a corrupted Shared Code preferences file. Drag the Shared Code preferences file from the Preferences Folder to the desktop. Make sure that no programs are running at the time. Test the program again. If this corrects the problem, throw away the damaged Shared Code preferences file on your Desktop. </li>  Remove the Shared Code Manager and the Shared Code folder and reinstall them. To do this: <ol style="list-style-type: lower-alpha;">  Drag the Shared Code Manager and the Shared Code Folder to the desktop. If the extension is missing, go to Step 2. </li>  Run Microsoft Office Setup or Microsoft PowerPoint Setup from Install Disk 1 or from your Office CD-ROM. </li>  Click Add/Remove when the Setup (Maintenance Mode) dialog box appears. </li>  Under Installed Components, click the option triangle for Microsoft PowerPoint. With a stand-alone installation of PowerPoint, select the check box to the left of PowerPoint then skip to step g. </li>  All options will be selected by default. Leave the Microsoft PowerPoint option on the second level selected. Clear the remaining items. </li>  Under Installed Components, click the option triangle for Tools. </li>  Leave the Spelling option selected. Clear the remaining items. </li>  Click Continue to remove PowerPoint and Spelling. After the removal is complete, click OK. </li>  Drag the PowerPoint Settings (4) file from the Preferences folder to the Trash. </li>  Run Setup again and click Add/Remove. </li>  Under Components Not Yet Installed, click the option triangle for Microsoft PowerPoint. With a stand-alone version of PowerPoint, select the PowerPoint check box and then skip to step n. </li> <li> All listed options will be selected by default. Leave the Microsoft PowerPoint option on the second level selected. Clear the remaining items. </li> <li> Under Components Not Yet Installed, click the option triangle for Tools. </li> <li> Leave the Spelling option selected. Clear the remaining items. </li> <li> Click Continue to add PowerPoint and Spelling. </li></ol>

This process will place new versions of the Shared Code Manager and Shared Code folder in your Extensions folder. </li></ol>

= MORE INFORMATION =

For additional information, please see the following article(s) in the Microsoft Knowledge Base:

ARTICLE-ID: Q139745 TITLE : OFF4: How to Add an Extension with Office 4.2.1

ARTICLE-ID: Q140866 TITLE : OFF4: Organization Chart 1.0 Will Not Run Without Shared Code

ARTICLE-ID: Q124247 TITLE : Error When Launching OLE Application from PowerPoint

ARTICLE-ID: Q137758 TITLE : CG: Troubleshooting ClipArt Gallery Problems on the Macintosh

Additional query words: 4.00 m_powerpt macsys oleapps 2.00 5.00 mac apple scm SharedCodeManager SharedCode server app error ====================================================================== Keywords : kberrmsg kbinterop kbole kbdta Version : macintosh:3.0,4.0 Platform : MACINTOSH Hardware : MAC Issue type : kbprb ============================================================================= Copyright Microsoft Corporation 1998.