FIX: Error "OLE Error Code 0x80080005 Server Execution Failed"

Symptoms

If the "at" symbol ("@") is in the name of your computer, you may receive the following error message when running a manually written MSGraph program:

OLE error code 0x80080005 Server execution failed

Resolution

To resolve this problem, the "at" symbol ("@") must be removed from the name of the computer as follows:


  1. Right-click the Network Neighborhood icon and click Properties.
  2. Click the Identification tab.
  3. In the Computer Name box, remove the "at" symbol ("@") from the name of the computer.
  4. Click OK and restart the computer. On non-Windows 95 networks you may have to resolve this new computer name for proper network operation.
  5. Run the Graph1.prg program, located in the MORE INFORMATION section below, from the Command window.
The MSGraph Bar chart appears on the screen.

Status

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This has been corrected in Visual FoxPro 6.0.

More Information

Steps to Reproduce Behavior

Place the following code into a .prg file and execute it:
   #DEFINE tab chr(09)
#DEFINE cr_lf chr(13) + chr(10)
LOCAL FruitData
Fruit_Data = " " + tab + "Fruits" + cr_lf + ;
"Apples" + tab + "1" + cr_lf + ;
"Oranges" + tab + "2" + cr_lf + ;
"Pears" + tab + "3" + cr_lf
CREATE TABLE frt_graph (mygraph G)
APPEND BLANK
APPEND GENERAL MyGraph CLASS "MSGRAPH" DATA Fruit_Data
MODIFY GENERAL MyGraph
If you have an "at" symbol ("@") in the computer name you will receive the following error message.
OLE error code 0x80080005 Server execution failed
Eigenschappen

Artikel-id: 164360 - Laatst bijgewerkt: 19 jun. 2008 - Revisie: 1

Feedback