ACC2000: Error Messages When You Use the Chart Wizard (313260)



The information in this article applies to:

  • Microsoft Access 2000

This article was previously published under Q313260
Novice: Requires knowledge of the user interface on single-user computers.


This article applies only to a Microsoft Access database (.mdb).

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.

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.

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.

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.

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.

Modification Type:MinorLast Reviewed:1/7/2006
Keywords:kberrmsg kbprb KB313260