Thanks I checked those reg keys and the permissions are set properly. Other ideas?
Main Topics
Browse All TopicsI receive this CDO.Addressee.1 error 'c0070005' and can't find any information about it anywhere. If anyone knows what this is refering to please help!
Here is my ASP code:
<%@ Language=VBscript%>
<%
Sub PrintStatus(strStatus)
Select Case strStatus
Case "0" 'Free
Response.Write "<TD>Free</TD></TR>"
Case "1" 'Tentative
Response.Write "<TD>Tentative</TD></TR>"
Case "2" 'Busy
Response.Write "<TD>Busy</TD></TR>"
Case "3" 'Out Of Office
Response.Write "<TD>Out Of Office</TD></TR>"
End Select
End Sub
UserName = "myusername"
DomainName = "mydomain.com"
ServerName = "myserver"
strStartTime = #11/6/2003 7:00:00 AM#
strEndTime = #11/6/2003 5:00:00 PM#
iInterval = 30
Set iAddr = createobject("CDO.Addresse
iAddr.EmailAddress = UserName & "@" & DomainName
iAddr.CheckName ("LDAP://" & ServerName)
strFreebusy = iAddr.GetFreeBusy(strStart
Response.Write "<Table Border =1>"
For i = 1 To Len(strFreebusy)
If i = 1 Then
Response.Write "<TR><TD>Start Time</TD><TD>" & strStartTime & " ~ </TD>"
Elseif i = len(strFreebusy) Then
Response.Write "<TR><TD>End Time</TD><TD>" & strEndTime & " ~ </TD>"
Else
Response.Write "<TR><TD>.</TD><TD> + " & iInterval & " min ~ </TD>"
End If
Call PrintStatus(Mid(strFreebus
Next
Response.Write "</TABLE>"
Set iAddr = Nothing
%>
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Apart from wondering about the permissions for the LDAP, I can offer only what I am sure that you already know--start with a simpler CDO sample, test it, and then add what you need one bit at a time until the error reveals its source. In case this helps, I am including an extended CDO example:
<%
Const cdoSendUsingMethod = _
"http://schemas.microsoft.
Const cdoSendUsingPort = 2
Const cdoSMTPServer = _
"http://schemas.microsoft.
Const cdoSMTPServerPort = _
"http://schemas.microsoft.
Const cdoSMTPConnectionTimeout = _
"http://schemas.microsoft.
Const cdoSMTPAuthenticate = _
"http://schemas.microsoft.
Const cdoBasic = 1
Const cdoSendUserName = _
"http://schemas.microsoft.
Const cdoSendPassword = _
"http://schemas.microsoft.
Dim objConfig ' As CDO.Configuration
Dim objMessage ' As CDO.Message
Dim Fields ' As ADODB.Fields
' Get a handle on the config object and it's fields
Set objConfig = Server.CreateObject("CDO.C
Set Fields = objConfig.Fields
' Set config fields we care about
With Fields
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) = "smtp_server_name"
.Item(cdoSMTPServerPort) = 25
.Item(cdoSMTPConnectionTim
.Item(cdoSMTPAuthenticate)
.Item(cdoSendUserName) = "username"
.Item(cdoSendPassword) = "password"
.Update
End With
Set objMessage = Server.CreateObject("CDO.M
Set objMessage.Configuration = objConfig
With objMessage
.To = "Display Name <email_address>"
.From = "Display Name <email_address>"
.Subject = "SMTP Relay Test"
.TextBody = "SMTP Relay Test Sent @ " & Now()
.Send
End With
Set Fields = Nothing
Set objMessage = Nothing
Set objConfig = Nothing
%>
Check this out.. this has more detailed info on what you are trying to achieve...
http://www.docendo.se/mspr
Cheers!!
you might want to go through this as well..
http://support.microsoft.c
Cheers!!
I ended up using this:
http://support.microsoft.c
because none of the comments really helped me figure out the error. The link above did provide the same functionality I was after.
Also I had to be sure anonymous login was turned off at the webserver.
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:
PAQ with points refunded
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
vnvk
EE Cleanup Volunteer
Business Accounts
Answer for Membership
by: fritz_the_blankPosted on 2003-11-06 at 07:38:21ID: 9694723
Have you seen this?
om/default .aspx? scid =%2fservic edesks%2fb in%2fkbsea rch.asp%3f Article%3d 323915
http://support.microsoft.c
It does not match what is happening to you, but it does seem to point to some sort of a permissions issue...
FtB