Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ACC2000: Error Messages When You Use the Chart Wizard


View products that this article applies to.

Symptoms

When you use the Chart Wizard to insert a chart in a form or a report, you receive the following error messages:
The class argument in the CreateObject function of the Visual Basic procedure you're trying to run is invalid.
The OLE server isn't registered.
To register the OLE server, reinstall it.

↑ Back to the top


Cause

This issue can occur when one of the following conditions is true:

  • Microsoft Graph is not installed.
  • Microsoft Graph is not installed correctly.
  • One or more of the files required to run Microsoft Graph is damaged.

↑ Back to the top


Resolution

To resolve this issue, follow these steps in the order presented.

Determine Whether Microsoft Graph Is Installed

  1. Quit all programs that are running.
  2. Click Start, point to Settings, and then click Control Panel.
  3. Double-click Add/Remove Programs. In the list of installed programs, click Microsoft Office 2000, and then click Add/Remove (click Change on Microsoft Windows 2000-based computers). If you installed Microsoft Office from a CD, you are prompted to insert the CD.
  4. In the Microsoft Office 2000 Maintenance Mode dialog box, click Add or Remove Features.
  5. Expand Office Tools (click the plus sign next to the Office Tools icon). Microsoft Graph is not installed if you see a red cross next to the words "Microsoft Graph".
  6. Proceed to one of the two following methods, "Install Microsoft Graph" or "Repair Your Installation of Microsoft Graph," as appropriate.

Install Microsoft Graph

If Microsoft Graph is not already installed on your computer, follow these steps:
  1. Quit all programs that are running.
  2. Click Start, point to Settings, and then click Control Panel.
  3. Double-click Add/Remove Programs. In the list of installed programs, click Microsoft Office 2000, and then click Add/Remove (click Change on Microsoft Windows 2000-based computers). If you installed Microsoft Office from a CD, you are prompted to insert the CD.
  4. In the Microsoft Office 2000 Maintenance Mode dialog box, click Add or Remove Features.
  5. Expand Office Tools. To expand Office Tools, click the plus sign next to the Office Tools icon.
  6. Click the Microsoft Graph icon, and then click Run from My Computer.
  7. Click Update Now.

    Setup installs Microsoft Graph 2000.

Repair Your Installation of Microsoft Graph

If Microsoft Graph is already installed on your computer, follow these steps:
  1. Use Windows Explorer to locate the file Graph9.exe. This file is usually located in the following folder:
    C:\Program Files\Microsoft Office\Office
  2. Rename Graph9.exe to Graph9exe.old.
  3. Quit all programs that are running.
  4. Click Start, point to Settings, and then click Control Panel.
  5. Double-click Add/Remove Programs. In the list of installed programs, click Microsoft Office 2000, and then click Add/Remove (click Change on Microsoft Windows 2000-based computers). If you installed Microsoft Office from a CD, you are prompted to insert the CD.
  6. In the Microsoft Office 2000 Maintenance Mode dialog box, click Repair Office.
  7. Click Repair errors in my Office installation.
  8. Click Finish.

    Setup completes the repair process.

↑ Back to the top


More information

Steps to Reproduce the Problem

  1. Quit all programs that are running.
  2. Click Start, point to Settings, and then click Control Panel.
  3. Double-click Add/Remove Programs. In the list of installed programs, click Microsoft Office 2000, and then click Add/Remove (click Change on Microsoft Windows 2000-based computers). If you installed Microsoft Office from a CD, you are prompted to insert the CD.
  4. In the Microsoft Office 2000 Maintenance Mode dialog box, click Add or Remove Features.
  5. Expand Office Tools. To expand Office Tools, click the plus sign next to the Office Tools icon.
  6. Click the Microsoft Graph icon, and then click Not Available on the drop-down menu.
  7. Click Update Now.

    Setup removes Microsoft Graph 2000.
  8. Start Microsoft Access, and then open the sample database Northwind.mdb.
  9. Create a new form in design view.
  10. On the Insert menu, click Chart, and then click in the form to insert a new Chart.
  11. Select the Order Details table, and then click Next.
  12. Click the ">>" button (Select All), and then click Next twice.

    You receive the error messages described in the "Symptoms" section of this article.

↑ Back to the top


References

For more information about adding charts to forms and reports, click Microsoft Access Help on the Help menu, type Graph in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

↑ Back to the top


Keywords: KB313260, kbprb, kberrmsg

↑ Back to the top

Article Info
Article ID : 313260
Revision : 3
Created on : 1/7/2006
Published on : 1/7/2006
Exists online : False
Views : 247