PUB98: Artgalry.dll Is Unable to Register Itself

Last reviewed: March 13, 1998
Article ID: Q182118
The information in this article applies to:
  • Microsoft Publisher 98
  • Microsoft Clip Gallery 4.0 for Windows

WARNING: The information in this article has not been confirmed or tested by Microsoft. Some or all of the information in this article has been taken from unconfirmed customer reports. ANY USE BY YOU OF THE INFORMATION PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this information "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

SYMPTOMS

When you run the Microsoft Publisher 98 Setup program, you may encounter the following error near the end of the installation process:

   Artgalry.dll is unable to register itself in the Registry.

This message may be followed by:

   Setup did not complete successfully.

CAUSE

This problem may appear in either of the following situations:

  • An application or terminate-and-stay-resident (TSR) program was running while you ran the Publisher 98 setup program.

-or-
  • Certain core dynamic link libraries (DLL) files have been replaced by versions that are not compatible with the Publisher Setup program.

RESOLUTION

To resolve this behavior, follow these steps.

NOTE: These steps are ordered so that each step is built upon the previous step. If step 1 does not resolve the problem, go to step 2 and continue troubleshooting. After you complete step 2, go back and repeat step 1.

Step 1: Disable TSRs and Rerun Setup

Rerun setup after you close any applications or TSR programs, by following these steps:

  1. Restart Windows 95, by following these steps:

    a. On the Windows Start menu, click Shut Down.

    b. Click Restart The Computer and then click OK.

  2. Close any open programs.

  3. Press CTRL+ALT+DEL. This will open the Close Program dialog box.

  4. In the Close Program dialog box, select any item (except Explorer and Systray), and click End Task. Repeat steps 3 and 4 until Systray and Explorer are the only items listed in the Close Program dialog box.

    NOTE: In some cases Windows may display a dialog box indicating that the application is not responding. If you see this dialog box, click End Task.

  5. Rerun the Publisher Setup program.

If you went through Step 1 and you are still receiving this error while trying to install Publisher, certain core dynamic link library (dll) files may be preventing setup from successfully registering the shared ClipArt Gallery component. The actual DLL that is causing this error may from one computer to another. Each component is addressed in a separate setup procedure.

Step 2: Rename the Artgalry.dll File

Rename the Artgalry.dll file and then rerun the Publisher Setup program.

  1. On the Windows Start menu, point to Programs, and then click Windows Explorer.

  2. Click the Artgalry.dll file. By default, ;you can find this file in the c:\Program Files\Common Files\Microsoft Shared\Artgalry folder.

  3. On the File menu, click Rename.

  4. Rename the artgalry.dll file to artgalry.old.

  5. Rerun the Publisher Setup program.

Step 3: Rename the Msvcrt20.dll File

Rename the Msvcrt20.dll and rerun the Publisher Setup program.

  1. If any programs are currently running, close them.

  2. Rename the Msvcrt20.dll file using these steps:

        a. On the Windows Start menu, point to Find, and then click
           Files Or Folders.
    

        b. In the Named box, type:
    

              Msvcrt20.dll
    
        c. Click Find Now.
    
        d. Right-click Msvcrt20.dll and then click Rename. Change the name to
           something like Msvcrt20.old.
    
           NOTE: If you are running any programs that are using the
           Msvcrt20.dll, you will receive this error message:
    
              Cannot rename Msvcrt20.dll: Access is denied.
    
              Make sure the disk is not full or write-protected and that the
              file is not currently in use.
    
           If you receive this error message, follow these additional steps:
    
           1) On the Start menu, click Shut Down.
    
           2) In the Shut Down Windows dialog box, click "Restart in MS-DOS
              mode" and then click Yes. You should see a blank screen with
              an MS-DOS prompt similar to this:
    
                 c:\windows>
    
           3) Type the following:
    
                 cd system
    
              and then press ENTER.
    
           4) Type the following:
    
                 ren msvcrt20.dll msvcrt20.old
    
              and then press ENTER.
    
           5) Type the following:
    
                 exit
    
              and then press ENTER. Windows 95 will restart.
    
           6) If you receive any kind of "error starting program" or
              "can't find required .dll" error message, click OK to bypass
              them.
    
    

  3. Rerun Publisher setup.

Step 4: Rename the Picstore.dll File

Rename the picstore.dll and rerun setup.

  1. If any programs are currently running, close them.

  2. Rename the picstore.dll file using these steps:

        a. On the Windows Start menu, point to Find, and then click
           Files or Folders.
    

        b. In the Named box, type:
    

              picstore.dll
    
        c. Click Find Now.
    
        d. Right-click the Picstore.dll file and then click Rename.
           Change the name to something like Picstore.old.
    
    

  3. Rerun Publisher setup.

If you still encounter the error, replace the Msvcrt20.dll, Msvcrt40.dll, and Mfc40.dll files using the procedure described in the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q157146
   TITLE     : PUB97: ACMSETUP Caused a General Protection Fault in
               Mfc40.dll

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

REFERENCES

For more information about registering Clip Gallery, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q134863
   TITLE     : How to Reregister Shared Programs in Office 95 & 97


Additional query words: clipart gallery clips cag artgalery 98 pub98 mspub98
pub_98 5.00 publisher98 pub5 ms_pub98 mspub
Keywords : kbgraphic kbole kbdta kbclip
Version : WINDOWS:4.0
Platform : WINDOWS
Hardware : x86
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 13, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.