Wrox Programmer Forums
|
ASP CDO As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP CDO section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 29th, 2005, 03:22 AM
Registered User
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unable to create "CDO.Message" object



Following error is received:

Active Server Pages, ASP 0241 (0x80004005)
The CreateObject of '(null)' caused exception E06D7363.

Here is part of the code causing trouble:
    Set myMail = Server.CreateObject("CDO.Message")
'Send Using Pickup
    myMail.Configuration.Fields.Item _
    ("http://schemas.microsoft.com/cdo/configuration/sendusing")=sendusingPickup

'Pickup Directory
    myMail.Configuration.Fields.Item _
    ("http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory") _
    ="C:\Inetpub\mailroot\Pickup"

    myMail.Configuration.Fields.Update

I am running IIS 5.0 on Windows 2000. I have verified CDOSYS.DLL and its registry entry is present. At other places in the code, other objects (Excel.Application, Scripting.FileSystemObject, ADODB.Connection) are created without any problem.
 
Old January 30th, 2005, 02:00 PM
Registered User
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to boxenberg Send a message via MSN to boxenberg
Default

As a suggestion, have you tried checking the NTFS permissions on your Inetpub\mailroot directory???

Quote:
quote:Originally posted by jenish64



Following error is received:

Active Server Pages, ASP 0241 (0x80004005)
The CreateObject of '(null)' caused exception E06D7363.

Here is part of the code causing trouble:
    Set myMail = Server.CreateObject("CDO.Message")
'Send Using Pickup
    myMail.Configuration.Fields.Item _
    ("http://schemas.microsoft.com/cdo/configuration/sendusing")=sendusingPickup

'Pickup Directory
    myMail.Configuration.Fields.Item _
    ("http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory") _
    ="C:\Inetpub\mailroot\Pickup"

    myMail.Configuration.Fields.Update

I am running IIS 5.0 on Windows 2000. I have verified CDOSYS.DLL and its registry entry is present. At other places in the code, other objects (Excel.Application, Scripting.FileSystemObject, ADODB.Connection) are created without any problem.

 
Old January 31st, 2005, 05:01 AM
Registered User
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, "Everyone" has full permissions on this directory.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not access 'CDO.Message' object - ASP.net neeta_gt General .NET 8 December 3rd, 2008 04:41 AM
one user unable to create xmlhttp object mussitsch Classic ASP XML 2 August 31st, 2006 09:48 AM
'CDO.Message' Object Couldn't be Accessed! shiraz BOOK: ASP.NET Website Programming Problem-Design-Solution 2 December 7th, 2005 11:27 AM
Unable to create Excel object neha_jn Beginning VB 6 1 September 28th, 2004 10:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.