Re: Method 'Categories" failed with object 'DocumentItem'
From: Andrew Cushen (anonymous_at_discussions.microsoft.com)
Date: 02/09/04
- Next message: Andrew Cushen: "Re: Reconfigure the button "New" email"
- Previous message: conde24: "Re: VBA in Outlook"
- In reply to: Lorenz H?lscher: "Method 'Categories" failed with object 'DocumentItem'"
- Next in thread: Lorenz H?lscher: "Re: Method 'Categories" failed with object 'DocumentItem'"
- Reply: Lorenz H?lscher: "Re: Method 'Categories" failed with object 'DocumentItem'"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 9 Feb 2004 08:40:42 -0800
Lorenz:
See this article about how to translate error messages:
http://support.microsoft.com/default.aspx?scid=kb;
[LN];Q186063
In this case, I looked it up for you. Here is what I found:
<<
//
// MessageId: RPC_E_SERVERFAULT
//
// MessageText:
//
// The server threw an exception.
//
#define RPC_E_SERVERFAULT _HRESULT_TYPEDEF_
(0x80010105L)
>>
WHY Outlook (the server in this case) threw the exception,
I couldn't tell you without seeing some of your code. Have
you ever run the code in Debug mode and experienced the
error? That at least would tell you WHERE in your code the
error occurred. Alternately, you could pepper your code
with MsgBox or (if in Debug mode) Debug.Print statements
after every major operation. Again, that would give you an
idea of where the problem is occurring.
Without more information, I can't help.
-Andrew
==============================
>-----Original Message-----
>Hi everyone,
>
>with Word-VBA I made an addin that lists Outlook/Exchange-
eMails resp.
>their attachments (which I need to import if they are
newer than local
>files). This works for 2 years on about 1000 customer
pc's. But
>sometimes there is a strange error message saying
something like
>"Error -2147417851: Method 'Categories" failed with object
>'DocumentItem'".
>
>What does this mean and why does it approach?
>
>Thanks in advance,
>Lorenz
>.
>
- Next message: Andrew Cushen: "Re: Reconfigure the button "New" email"
- Previous message: conde24: "Re: VBA in Outlook"
- In reply to: Lorenz H?lscher: "Method 'Categories" failed with object 'DocumentItem'"
- Next in thread: Lorenz H?lscher: "Re: Method 'Categories" failed with object 'DocumentItem'"
- Reply: Lorenz H?lscher: "Re: Method 'Categories" failed with object 'DocumentItem'"
- Messages sorted by: [ date ] [ thread ]