|
 |
asp_cdo thread: Re: CDO MAPI_E_NOT_FOUND(8004010F)]
Message #1 by amitjoshipune2000@y... on Thu, 6 Mar 2003 10:38:36
|
|
Hi !
I am trying to read messages from inbox using ASP and CDO 1.21 library.
I am using following code for the same.
Dim objSession
objSession=Server.CreateObject("MAPI.Session")
Dim strProfileInfo
' I am defining sServerName and sMailBoxName appropriately
strProfileInfo=sServerName+vnLF+sMailBoxName
objSession.Logon "", "", "False","True", 0,"TRUE",strProfileInfo
Response.write "Erro:"&Err.Description
I have Windows 2000 OS and using Microsoft Outlook 2000. CDO.dll is
registered in C:\Proggram Files\Common Files\System\MAPI\1033\NT folder.
This program works perfectly fine when I log in as Administrator on my pc
which has IIS 5.0. I am using Basic Authentication.
However, when I tried to run it from different machine say xyz (again
having its own IIS 5.0, Windows 2000, Outlook 2000 and similar setup with
me being Admin), I am getting error CDO MAPI_E_NOT_FOUND(8004010F).
Please note that the program works perfectly well if run in VB6.0 on xyz.
Any pointers to this are welcome.
Thanks.
Message #2 by =?iso-8859-1?q?Amit=20Joshi?= <amitjoshipune2000@y...> on Thu, 6 Mar 2003 10:38:55 +0000 (GMT)
|
|
Hi all,
I am trying to read messages from inbox using ASP and CDO 1.21 library. The OS is Windows 2000 and am using MS Outlook 2000.
I am using following code for the same.
Dim objSession
objSession=Server.CreateObject("MAPI.Session")
Dim strProfileInfo
' I am defining sServerName and sMailBoxName appropriately
strProfileInfo=sServerName+vnLF+sMailBoxName
objSession.Logon "", "", "False","True", 0,"TRUE",strProfileInfo
Response.write "Erro:"&Err.Description
I have Windows 2000 OS and using Microsoft Outlook 2000. CDO.dll is
registered in C:\Proggram Files\Common Files\System\MAPI\1033\NT folder.
This program works perfectly fine when I log in as Administrator on my pc
which has IIS 5.0. I am using Basic Authentication.
However, when I tried to run it from different machine say xyz (again
having its own IIS 5.0, Windows 2000, Outlook 2000 and similar setup with
me being Admin), I am getting error CDO MAPI_E_NOT_FOUND(8004010F).
Please note that the program works perfectly well if run in VB6.0 on xyz.
Any pointers to this are welcome.
Thanks.
Catch all the cricket action. Download Yahoo! Score tracker
Message #3 by "Siegfried Weber" <sweber@c...> on Thu, 6 Mar 2003 13:48:11 +0100
|
|
Sounds like the user running the code doesn't have permissions to create
the dynamic profile. Check:
166599 - XWEB: MMP files Created by MAPI and CDO:
http://support.microsoft.com/default.aspx?scid=3DKB;en-us;q166599
Even if it talks about Exchange 5.0 it should work. Don't forget to
restart the machine after making the changes.
<Cheers:Siegfried runat=3D"server" />
Development Lead,
CDOLive LLC - The Microsoft Messaging and Collaboration Application
Experts
http://www.cdolive.com
> -----Original Message-----
> From: amitjoshipune2000@y...
> [mailto:amitjoshipune2000@y...]
> Sent: Thursday, March 06, 2003 11:39 AM
> To: ASP CDO
> Subject: [asp_cdo] Re: CDO MAPI_E_NOT_FOUND(8004010F)]
>
>
> Hi !
> I am trying to read messages from inbox using ASP and CDO
> 1.21 library.
> I am using following code for the same.
>
> Dim objSession
> objSession=3DServer.CreateObject("MAPI.Session")
> Dim strProfileInfo
> ' I am defining sServerName and sMailBoxName appropriately
> strProfileInfo=3DsServerName+vnLF+sMailBoxName
> objSession.Logon "", "", "False","True",
> 0,"TRUE",strProfileInfo Response.write "Erro:"&Err.Description
>
> I have Windows 2000 OS and using Microsoft Outlook 2000. CDO.dll is
> registered in C:\Proggram Files\Common
> Files\System\MAPI\1033\NT folder.
>
> This program works perfectly fine when I log in as
> Administrator on my pc
> which has IIS 5.0. I am using Basic Authentication.
> However, when I tried to run it from different machine say xyz (again
> having its own IIS 5.0, Windows 2000, Outlook 2000 and
> similar setup with
> me being Admin), I am getting error CDO MAPI_E_NOT_FOUND(8004010F).
> Please note that the program works perfectly well if run in
> VB6.0 on xyz.
> Any pointers to this are welcome.
> Thanks.
>
Message #4 by =?iso-8859-1?q?Amit=20Joshi?= <amitjoshipune2000@y...> on Thu, 6 Mar 2003 15:32:41 +0000 (GMT)
|
|
Hi and thanks for reply.
The problem is everything works fine on Windows 2000 Professional and Windows 2000 Server. But in case of Windos 2000 Advanced
Server, the code is not functioning. The setup is identical in all three cases. The code is as well working in VB 6.0 on Windows
Advanced Server and dynamically creating profiles successfully. Only when run in ASP on Win 2000 Advanced Server, there is a
problem.
Regards,
Amit
Siegfried Weber <sweber@c...> wrote:Sounds like the user running the code doesn't have permissions to create
the dynamic profile. Check:
166599 - XWEB: MMP files Created by MAPI and CDO:
http://support.microsoft.com/default.aspx?scid=KB;en-us;q166599
Even if it talks about Exchange 5.0 it should work. Don't forget to
restart the machine after making the changes.
Development Lead,
CDOLive LLC - The Microsoft Messaging and Collaboration Application
Experts
http://www.cdolive.com
> -----Original Message-----
> From: amitjoshipune2000@y...
> [mailto:amitjoshipune2000@y...]
> Sent: Thursday, March 06, 2003 11:39 AM
> To: ASP CDO
> Subject: [asp_cdo] Re: CDO MAPI_E_NOT_FOUND(8004010F)]
>
>
> Hi !
> I am trying to read messages from inbox using ASP and CDO
> 1.21 library.
> I am using following code for the same.
>
> Dim objSession
> objSession=Server.CreateObject("MAPI.Session")
> Dim strProfileInfo
> ' I am defining sServerName and sMailBoxName appropriately
> strProfileInfo=sServerName+vnLF+sMailBoxName
> objSession.Logon "", "", "False","True",
> 0,"TRUE",strProfileInfo Response.write "Erro:"&Err.Description
>
> I have Windows 2000 OS and using Microsoft Outlook 2000. CDO.dll is
> registered in C:\Proggram Files\Common
> Files\System\MAPI\1033\NT folder.
>
> This program works perfectly fine when I log in as
> Administrator on my pc
> which has IIS 5.0. I am using Basic Authentication.
> However, when I tried to run it from different machine say xyz (again
> having its own IIS 5.0, Windows 2000, Outlook 2000 and
> similar setup with
> me being Admin), I am getting error CDO MAPI_E_NOT_FOUND(8004010F).
> Please note that the program works perfectly well if run in
> VB6.0 on xyz.
> Any pointers to this are welcome.
> Thanks.
>
Catch all the cricket action. Download Yahoo! Score tracker
Message #5 by "Siegfried Weber" <sweber@c...> on Fri, 7 Mar 2003 16:26:41 +0100
|
|
Sorry, can't help in this case. I remember having similar code running
on a Windows 2000 Advanced Server with Service Pack 3 without problems.
<Cheers:Siegfried runat=3D"server" />
Development Lead,
CDOLive LLC - The Microsoft Messaging and Collaboration Application
Experts
http://www.cdolive.com
> -----Original Message-----
> From: Amit Joshi [mailto:amitjoshipune2000@y...]
> Sent: Thursday, March 06, 2003 4:33 PM
> To: ASP CDO
> Subject: [asp_cdo] Re: CDO MAPI_E_NOT_FOUND(8004010F)]
>
>
>
> Hi and thanks for reply.
> The problem is everything works fine on Windows 2000
> Professional and Windows 2000 Server. But in case of Windos
> 2000 Advanced Server, the code is not functioning. The setup
> is identical in all three cases. The code is as well working
> in VB 6.0 on Windows Advanced Server and dynamically creating
> profiles successfully. Only when run in ASP on Win 2000
> Advanced Server, there is a problem. Regards, Amit
>
> Siegfried Weber <sweber@c...> wrote:Sounds like the
> user running the code doesn't have permissions to create the
> dynamic profile. Check:
>
> 166599 - XWEB: MMP files Created by MAPI and CDO:
> http://support.microsoft.com/default.aspx?scid=3DKB;en-us;q166599
>
> Even if it talks about Exchange 5.0 it should work. Don't
> forget to restart the machine after making the changes.
>
>
>
> Development Lead,
>
> CDOLive LLC - The Microsoft Messaging and Collaboration
> Application Experts http://www.cdolive.com
>
>
> > -----Original Message-----
> > From: amitjoshipune2000@y...
> > [mailto:amitjoshipune2000@y...]
> > Sent: Thursday, March 06, 2003 11:39 AM
> > To: ASP CDO
> > Subject: [asp_cdo] Re: CDO MAPI_E_NOT_FOUND(8004010F)]
> >
> >
> > Hi !
> > I am trying to read messages from inbox using ASP and CDO
> > 1.21 library.
> > I am using following code for the same.
> >
> > Dim objSession
> > objSession=3DServer.CreateObject("MAPI.Session")
> > Dim strProfileInfo
> > ' I am defining sServerName and sMailBoxName appropriately
> > strProfileInfo=3DsServerName+vnLF+sMailBoxName
> > objSession.Logon "", "", "False","True",
> > 0,"TRUE",strProfileInfo Response.write "Erro:"&Err.Description
> >
> > I have Windows 2000 OS and using Microsoft Outlook 2000. CDO.dll is
> > registered in C:\Proggram Files\Common
> > Files\System\MAPI\1033\NT folder.
> >
> > This program works perfectly fine when I log in as
> > Administrator on my pc
> > which has IIS 5.0. I am using Basic Authentication.
> > However, when I tried to run it from different machine say
> xyz (again
> > having its own IIS 5.0, Windows 2000, Outlook 2000 and
> > similar setup with
> > me being Admin), I am getting error CDO MAPI_E_NOT_FOUND(8004010F).
> > Please note that the program works perfectly well if run in
> > VB6.0 on xyz.
> > Any pointers to this are welcome.
> > Thanks.
> >
>
> Catch all the cricket action. Download Yahoo! Score tracker
>
>
Message #6 by =?iso-8859-1?q?Amit=20Joshi?= <amitjoshipune2000@y...> on Mon, 10 Mar 2003 13:33:35 +0000 (GMT)
|
|
Hi,
I am developing a messaging application using CDO 1.21 library.
Operating system is Windows 2000 Advanced Server, IIS 5.0 and outlook 2000 installed. The problem is after creating Mapi.session
successfully, program fails in routinely called objSession.Logon method. I have defined strProfileInfo correctly.
This program works without any error in VB. But gives Mapi_E_NOt_found(8004010F) error when done in ASP. Does IIS requires any
additional settings?
Please note that I have registered CDO.dll in c:\program files\common files\system\mapi\1033\nt.
Thanks in advance,
Amit
Catch all the cricket action. Download Yahoo! Score tracker
Message #7 by "Erik Danielsen" <erik.steen@o...> on Wed, 12 Mar 2003 16:17:00
|
|
The solution posted by Siegfried works!
have you tried it?
>
Hi,
I am developing a messaging application using CDO 1.21 library.
Operating system is Windows 2000 Advanced Server, IIS 5.0 and outlook 2000
installed. The problem is after creating Mapi.session successfully,
program fails in routinely called objSession.Logon method. I have defined
strProfileInfo correctly.
This program works without any error in VB. But gives Mapi_E_NOt_found
(8004010F) error when done in ASP. Does IIS requires any additional
settings?
Please note that I have registered CDO.dll in c:\program files\common
files\system\mapi\1033\nt.
Thanks in advance,
Amit
Catch all the cricket action. Download Yahoo! Score tracker
Message #8 by =?iso-8859-1?q?Amit=20Joshi?= <amitjoshipune2000@y...> on Wed, 12 Mar 2003 16:27:02 +0000 (GMT)
|
|
I could solve this problem. Creating dynamic profiles require user to have write access to WINNT folder in Advanced Server 2000.
However, on Windows 2000, this access was not required.
Amit
Erik Danielsen <erik.steen@o...> wrote:The solution posted by Siegfried works!
have you tried it?
>
Hi,
I am developing a messaging application using CDO 1.21 library.
Operating system is Windows 2000 Advanced Server, IIS 5.0 and outlook 2000
installed. The problem is after creating Mapi.session successfully,
program fails in routinely called objSession.Logon method. I have defined
strProfileInfo correctly.
This program works without any error in VB. But gives Mapi_E_NOt_found
(8004010F) error when done in ASP. Does IIS requires any additional
settings?
Please note that I have registered CDO.dll in c:\program files\common
files\system\mapi\1033\nt.
Thanks in advance,
Amit
Catch all the cricket action. Download Yahoo! Score tracker
Catch all the cricket action. Download Yahoo! Score tracker
|
|
 |