Ask a Question related to ASP.NET General, Design and Development.
-
Pat Sinnott #1
mapi.session and ASP.Net
I am attempting to create a MAPI Session with the
following code on an ASP.net page.
Dim oSess As New MAPI.Session()
oSess.Logon("MS Exchange Settings")
This code works fine in a vb.net environment but when I
attempted to run the same code in an ASP.Net environment I
got the following error.
[Collaboration Data Objects - [MAPI_E_LOGON_FAILED
(80040111)]]
I am aware that the account being used to open this
session is the ASPNET account so I attempted to use
ASP.Net impersonation using my own NT login credentials.
This time I got the following error.
[Collaboration Data Objects - [UNKNOWN_ERROR(80010106)]]
I have search the web for a solution to the issue without
any success. Urgent help required!!!
Regards,
Pat Sinnot MCSD
Pat Sinnott Guest
-
Using MAPI with Coldfusion
Hi, I have successfully tried cfpop and cf_imap before. In some cases companies doesn?t allow either one. The only thing supported is MAPI. So far... -
Mapi object failure on remote machine
"mattb" <mattb@discussions.microsoft.com> wrote in message news:9A459725-43E7-466E-9202-5C11730BC551@microsoft.com... Please don't multi-post. ... -
Win32::OLE MAPI Session missing something?
I am trying to use Win32::OLE to send email using MAPI, only I receive the following error : Win32::OLE(0.1403) error 0x800401f3: "Invalid... -
Win32::MAPI - where to find
hi! wondering if somebody could help me.... does anybody know where to find the win32::mapi module? I dried hard to find it on the internat, but... -
POP3 Access via MAPI in ASP?
Hello, Actually i am makin a website using ASP with which i want to fetch mails from a POP3 server, but i cant figure out the any of the thid party... -
Pat Sinnott #2
mapi.session and ASP.Net
I have worked out what the problem was here.
I added the page directive ASPCOMPAT = true and it worked.
I also used impersonation to impersonate my own NT login
credentials
I can now access all the public folders and their messages
to which I have access through my ASP.NET pages.
Note I use other com components on the page(to access my
business objects which were programmed using VB6) and all
these work faster with ASPCOMPAT set to true.
Regards,
Pat Sinnott MSCD
I>-----Original Message-----
>I am attempting to create a MAPI Session with the
>following code on an ASP.net page.
>
> Dim oSess As New MAPI.Session()
> oSess.Logon("MS Exchange Settings")
>
>
>This code works fine in a vb.net environment but when I
>attempted to run the same code in an ASP.Net environment>got the following error.
>
>[Collaboration Data Objects - [MAPI_E_LOGON_FAILED
>(80040111)]]
>
>I am aware that the account being used to open this
>session is the ASPNET account so I attempted to use
>ASP.Net impersonation using my own NT login credentials.
>
>This time I got the following error.
>
>[Collaboration Data Objects - [UNKNOWN_ERROR(80010106)]]
>
>I have search the web for a solution to the issue without
>any success. Urgent help required!!!
>
>Regards,
>
>Pat Sinnot MCSD
>
>
>
>
>.
>Pat Sinnott Guest



Reply With Quote

