Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Re: Adding an Appointment in ASP


Message #1 by "Gary Leverich" <gary@g...> on Thu, 13 Feb 2003 17:42:32
Did you guys ever find a fix for this?

> > Hi,

> > i have a problem with adding a appointment in ASP, okay that works 
fine 
b> ut
w> > hen i try to use appt.CreateRequest the following error occurs:

> > Multiple-step OLE DB operation generated errors. Check each OLE DB 
s> tatus
v> > alue...

> > <snip>

> > Dim Info
S> > et Info   = CreateObject("ADSystemInfo")
D> > im iPer
S> > et iPer   = CreateObject("CDO.Person")
D> > im Config
S> > et Config  = CreateObject("CDO.Configuration")
D> > im iMBX
i> > Per.DataSource.Open "mailto:user@d..."
S> > et iMBX = iPer.GetInterface("IMailbox")
S> > et objAppt=CreateObject("CDO.Appointment")
S> > et Conn=CreateObject("ADODB.Connection")
C> > onn.Provider="ExOLEDB.Datasource"

> > Config.Fields("cdoMailboxURL") = iMbx.BaseFolder
C> > onfig.Fields("CalendarLocation") = iMbx.Calendar
C> > onfig.Fields("cdoSendUsingMethod") = 3
C> > onfig.Fields("cdoSendEmailAddress") = "user@d..."
C> > onfig.Fields.Update

> > With objAppt
 > >   .Configuration = Config
 > >   .StartTime = "05/05/2002 2:00:00 PM"
 > >   .EndTime = "05/05/2002 3:00:00 PM"
 > >   .Subject = "Meet me- in St. Louis"
 > >   .Location = "St. Louis"
 > >   .TextBody = "I left my heart in San Francisco, so I may be late."

> >    Conn.Open iMBX.BaseFolder
 > >   .DataSource.SaveToContainer iMBX.Calendar, Conn

> > end with

> > objAppt.Attendees.Add("user2@d...")

> > Set CMessage = objAppt.CreateRequest '<< FAILS with error

> > </snip>

> > I am using Windows 2000, AD and Exchange 2000 SP2

> > Whats wrong with that??? I worked on that for 2 days...nothing 
h> appened, 
s> > till the same error...

> > Which solution would be better than my one, maybe WebDAV & XML ??

> > !!Please help me!!

> > Bye
C> > hristian

  Return to Index