TMGR: Run-time Error Messages Not as Expected

ID: Q149867

The information in this article applies to:

SUMMARY

Run-time errors produced when using invalid OLE Automation to Microsoft Team Manager always generate the same error message and error number.

MORE INFORMATION

A run-time error is an indication of a problem that occurs during execution of an application when a statement attempts an operation that is impossible to carry out. An example could be the following statement

   Speed = Miles / Hours

where

     Hours is zero (0) and Miles is any number.

Because any number divided by zero is impossible to calculate, the operation is invalid. Even though the statement is syntactically correct, a run-time error and message is generated.

When a run-time error occurs in Microsoft Team Manager when using OLE Automation, Microsoft Team Manager passes back to the client application only the message that an error has occurred, but no specifics. (There are many kinds of run-time errors.)

The client application (the OLE calling application) then displays its predefined and default run-time error message. The following are examples of the default error messages from a few OLE Automation applications.

   Microsoft Excel and Microsoft Project:

     "Run-time error '1':
     There was an OLE automation error."

   Microsoft Visual Basic, version 4.0:

     "Run-time error '-2147418113 (8000ffff)':
     There was an OLE automation error."

Additional query words: 1.00 97
Keywords          : kberrmsg kbole kbprg kbdta
Version           : WINDOWS:97
Platform          : WINDOWS

Last Reviewed: May 21, 1998