Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Active Messaging


Message #1 by "Gerald Calaguian" <geraldc@o...> on Sat, 25 Nov 2000 03:16:25 -0000
Hello!



I need help regarding with this error:



Error Type:

Active Messaging (0x4F7)

[Active Messaging - [MAPI_E_NOT_FOUND(8004010F)]]

frameset.asp, line 14



here's the list of the code for frameset.asp:

--------------------Start-----------------------

<%@ language=VBScript %>

<% option explicit %>

<%

dim objinbox

dim colmsgs

dim strmachinename

dim strmailbox

dim objcursession



strmachinename = request.querystring("servername")

strmailbox = request.querystring("usermailbox")



set objcursession = createobject("mapi.session")

objcursession.logon "", "", false, true, 0, true, strmachinename & _

      vblf & strmailbox

set session("cursession") = objcursession

session("username") = objcursession.currentuser.name

%>



<frameset id=inbox cols="200, *">

   <frame id="listing" name="listing" src="folderlist.asp">

   <frame id="detail" name="detail" src="messagelist.asp">

</frameset>

----------------------end-----------------------



I copied this code from the book and it has an error.  I very much

appreciate your help.  Thank you.



Gerald

Message #2 by "Siegfried Weber" <sweber@c...> on Sat, 25 Nov 2000 17:11:59 +0100
This is a multi-part message in MIME format.



------_=_NextPart_001_01C056FA.704A99FB

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



Your code asks for a usermailbox variable but I don't see any code to

force the NT authentication. Does that mean the NT account used to run

this code has permissions to open all mailboxes or did you just forget

to copy this line to your e-mail? If you don't know that I mean check

http://www.cdolive.com/asp1.htm and http://www.cdolive.com/asp2.htm for

some pointers about IIS, CDO and security.



</Siegfried>





> -----Original Message-----

> From: Gerald Calaguian [mailto:geraldc@o...]

> Sent: Saturday, November 25, 2000 4:16 AM

> To: ASP CDO

> Subject: [asp_cdo] Active Messaging

>

>

> Hello!

>

> I need help regarding with this error:

>

> Error Type:

> Active Messaging (0x4F7)

> [Active Messaging - [MAPI_E_NOT_FOUND(8004010F)]]

> frameset.asp, line 14

>

> here's the list of the code for frameset.asp:

> --------------------Start-----------------------

> <%@ language=3DVBScript %>

> <% option explicit %>

> <%

> dim objinbox

> dim colmsgs

> dim strmachinename

> dim strmailbox

> dim objcursession

>

> strmachinename =3D request.querystring("servername")

> strmailbox =3D request.querystring("usermailbox")

>

> set objcursession =3D createobject("mapi.session")

> objcursession.logon "", "", false, true, 0, true, strmachinename & _

>       vblf & strmailbox

> set session("cursession") =3D objcursession

> session("username") =3D objcursession.currentuser.name

> %>

>

> <frameset id=3Dinbox cols=3D"200, *">

>    <frame id=3D"listing" name=3D"listing" src=3D"folderlist.asp">

>    <frame id=3D"detail" name=3D"detail" src=3D"messagelist.asp">

> </frameset>

> ----------------------end-----------------------

>

> I copied this code from the book and it has an error.  I very much

> appreciate your help.  Thank you.

>

> Gerald

>

> ---

> Wrox Professional Web Developer Conference II

> http://www.wroxconferences.com/WebDevEurope

> November 29th - December 1st 2000, Amsterdam, Netherlands

> Create powerful distributed web applications serving you now and

> in the future. From ASP+ and VB.NET to XML and SQL Server 2000




>

>





  Return to Index