Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb_dotnet thread: Re: Mapi logon in vb.net dll


Message #1 by "Susantha Kumara" <susanthakumara@y...> on Mon, 24 Feb 2003 05:36:21
PLEASE post the code you are using this way we can help you debug...

 

Regards,

Carlos Magalhaes

 

 

-----Original Message-----
From: Susantha Kumara [mailto:susanthakumara@y...] 
Sent: Monday, February 24, 2003 7:36 AM
To: pro_VB_dotnet
Subject: [pro_vb_dotnet] Re: Mapi logon in vb.net dll

 

Hi Micke & Mia,

 

I have got exactly same problem. Were you able to solve it ?. Please help 

me to get this problem solved.

 

Thanks in advance,

 

Susantha.

 

 

> 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 

a> pplication and it works perfect. But when we move the code to a dll in 

a 

a> sp.net web service we get the following error:

 

> System.Runtime.InteropServices.COMException (0x80010106):  

[Collaboration 

D> ata Objects - [UNKNOWN_ERROR(80010106)]]

a> t System.RuntimeType.ForwardCallToInvokeMember(String memberName,  

B> indingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& 

m> sgData)

a> t MAPI.SessionClass.Logon(Object ProfileName, Object ProfilePassword, 

O> bject ShowDialog, Object NewSession, Object ParentWindow, Object 

NoMail, 

O> bject ProfileInfo)

a> t 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 

a> re appriciated.

 

> Regards,

 

> Micke & Mia

---

VB.NET Handbooks Library Special Offer

 

Get a massive 40% off this complete library

of books (US residents only at the moment).

Free ground shipping on this 10 book bundle!

 

http://www.wroxdirect.com/proddescription.asp?Bookselect=BUN10E004






  Return to Index