Microsoft KB Archive/149867

= TMGR: Run-time Error Messages Not as Expected =

Article ID: 149867

Article Last Modified on 10/11/2006

-

APPLIES TO


 * Microsoft Team Manager 1.0 Standard Edition

-



This article was previously published under Q149867



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

Keywords: kberrmsg kbprogramming KB149867

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.