Microsoft KB Archive/313260

= ACC2000: Error Messages When You Use the Chart Wizard =

Article ID: 313260

Article Last Modified on 1/7/2006

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



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 &quot;Microsoft Graph&quot;.
 * 6) Proceed to one of the two following methods, &quot;Install Microsoft Graph&quot; or &quot;Repair Your Installation of Microsoft Graph,&quot; 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:  Use Windows Explorer to locate the file Graph9.exe. This file is usually located in the following folder:

C:\Program Files\Microsoft Office\Office

 Rename Graph9.exe to Graph9exe.old. Quit all programs that are running. Click Start, point to Settings, and then click Control Panel. 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. In the Microsoft Office 2000 Maintenance Mode dialog box, click Repair Office.</li> Click Repair errors in my Office installation.</li> Click Finish.

Setup completes the repair process.</li></ol>

<div class="moreinformation_section">

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.
 * 1) Start Microsoft Access, and then open the sample database Northwind.mdb.
 * 2) Create a new form in design view.
 * 3) On the Insert menu, click Chart, and then click in the form to insert a new Chart.
 * 4) Select the Order Details table, and then click Next.
 * 5) Click the &quot;>>&quot; button (Select All), and then click Next twice.

You receive the error messages described in the &quot;Symptoms&quot; section of this article.

<div class="references_section">