Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb_dotnet thread: Mapi logon in vb.net dll


Message #1 by "Mia Larsson" <hdi99mla@s...> on Fri, 19 Apr 2002 12:20:35
Hi,

We´re having trouble using logon with Mapi in a vb.net dll!

We have used the same code (for logging on with Mapi) in a vb.net windows 
application and it works perfect. But when we move the code to a dll in a 
asp.net web service we get the following error:

System.Runtime.InteropServices.COMException (0x80010106):  [Collaboration 
Data Objects - [UNKNOWN_ERROR(80010106)]]
at System.RuntimeType.ForwardCallToInvokeMember(String memberName,  
BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& 
msgData)
at MAPI.SessionClass.Logon(Object ProfileName, Object ProfilePassword, 
Object ShowDialog, Object NewSession, Object ParentWindow, Object NoMail, 
Object ProfileInfo)
at DllTest1_MAPI.DllTest_MAPI.GetGalList() in 
c:\inetpub\wwwroot\DllTest1_MAPI\DllTest1_MAPI.asmx.vb:line 55

Can anyone give us some help why this problem occurs? Or any tips at all 
are appriciated.

Regards,

Micke & Mia

  Return to Index