P
Pieter
Hi,
On the pc of one of my clients (W2000, Office 2003) I'm getting sometimes an
exception when moving (Move) a MailItem to an Outlook-Folder: The RPC server
is not available. (Exception from HRESULT: 0x800706BA). The client has all
the updates/service packs/ etc isntalled...
Does anybody has any idea why this happens? Any help our hints would be
really appreciated! what is that RPC server thing?
Thanks a lot in advance,
Pieter
This is what I do in my application (VB.NET 2005):
Private oItem As Outlook.MailItem
strStatus = "MOVE"
If (oFolder.StoreID <> clsDocShared.GlobalDoc.MyOutlookFolder.StoreID)
Or (oFolder.EntryID <> clsDocShared.GlobalDoc.MyOutlookFolder.EntryID) Then
'Move it to the right folder: StoreID
strStatus = "MOVE1"
oItem = oItem.Move(clsDocShared.GlobalDoc.MyOutlookFolder)
strStatus = "MOVE2"
End If
The whole exception:
The RPC server is not available. (Exception from HRESULT: 0x800706BA)
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags
invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32
culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags
bindingFlags, Binder binder, Object target, Object[] providedArgs,
ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Microsoft.VisualBasic.CompilerServices.VBBinder.InvokeMember(String
name, BindingFlags invokeAttr, Type objType, IReflect objIReflect, Object
target, Object[] args, String[] namedParameters)
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o,
Type objType, String name, Object[] args, String[] paramnames, Boolean[]
CopyBack)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object
Instance, Type Type, String MemberName, Object[] Arguments, String[]
ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
at DocControl.clsDocMail.GetMailInfo(Boolean blnMove)
On the pc of one of my clients (W2000, Office 2003) I'm getting sometimes an
exception when moving (Move) a MailItem to an Outlook-Folder: The RPC server
is not available. (Exception from HRESULT: 0x800706BA). The client has all
the updates/service packs/ etc isntalled...
Does anybody has any idea why this happens? Any help our hints would be
really appreciated! what is that RPC server thing?
Thanks a lot in advance,
Pieter
This is what I do in my application (VB.NET 2005):
Private oItem As Outlook.MailItem
strStatus = "MOVE"
If (oFolder.StoreID <> clsDocShared.GlobalDoc.MyOutlookFolder.StoreID)
Or (oFolder.EntryID <> clsDocShared.GlobalDoc.MyOutlookFolder.EntryID) Then
'Move it to the right folder: StoreID
strStatus = "MOVE1"
oItem = oItem.Move(clsDocShared.GlobalDoc.MyOutlookFolder)
strStatus = "MOVE2"
End If
The whole exception:
The RPC server is not available. (Exception from HRESULT: 0x800706BA)
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags
invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32
culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags
bindingFlags, Binder binder, Object target, Object[] providedArgs,
ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Microsoft.VisualBasic.CompilerServices.VBBinder.InvokeMember(String
name, BindingFlags invokeAttr, Type objType, IReflect objIReflect, Object
target, Object[] args, String[] namedParameters)
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o,
Type objType, String name, Object[] args, String[] paramnames, Boolean[]
CopyBack)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object
Instance, Type Type, String MemberName, Object[] Arguments, String[]
ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
at DocControl.clsDocMail.GetMailInfo(Boolean blnMove)