Problem Get Freebusy return error!

Problem Get Freebusy return error!

Post by » Fri, 18 Jul 2003 20:11:32


        in a part, I coded with VB6 but change to .Net now

        methode GetFreeBusy return error!!!!

        " The data neccessary to complet this operation is not yet

I'm test on exchange server version 2000 two server
this one O.K get result success



        CDO.AddresseeClass cdoAddr = new CDO.AddresseeClass();

        ActiveDs.ADSystemInfoClass adsInfo = new

        Console.WriteLine("Input Email Address");

        string strMail = Console.ReadLine();

        cdoAddr.EmailAddress = strMail;

        Console.WriteLine("Input Pwd");

//string strPwd = "1234";

        string strPwd = Console.ReadLine();

        Object vEmpty = Missing.Value;

        if(cdoAddr.CheckName("LDAP://" + adsInfo.DomainDNSName
,strMail,strPwd ))


            System.Globalization.CultureInfo info =

            new System.Globalization.CultureInfo("en-US", false);

            System.Globalization.Calendar calendar = info.Calendar;

            DateTime dtNow = System.DateTime.Now;

            DateTime dt = new System.DateTime(dtNow.Year,dtNow.Month
,dtNow.Day ,8,0,0,0,calendar);

            Console.WriteLine("Start Date " + dt.ToString() );

            DateTime dt2 = new System.DateTime(dtNow.Year,dtNow.Month
,dtNow.Day ,16,0,0,0,calendar);

            Console.WriteLine("End Date " + dt2.ToString() );



                string freebusy = "Free Busy = " +
cdoAddr.GetFreeBusy(dt,dt2,60,null,null,null,null );



            catch(Exception e)






        Console.WriteLine("Name not found");


catch(Exception e)





__________________________________________________________ nutt srihajak
ICQ#: 255512461 Current ICQ status: + More ways to contact me


1. freebusy always returning 0's


I'm trying to get Exchange 2000 to return when a user is free/busy.

I've created an appointment in the calendar, which marks the time as busy.
The appointment is set for 09 April 2003 from 12:30 pm to 1:30pm.  The

also been invited, and accepted the meeting.

I'm using the following URL (where exchangeserver is the name of the server
with Exchange 2000, and username is the account in which the appointment has
been made):


This always returns the following XML:

<a:response xmlns:a="WM">
    <a:displayname>All Attendees</a:displayname>

I've tried changing the smtp value (in the querystring) to

I've also changed the option in Outlook to update my freebusy status every
one minute (tools -> options -> calendar options -> free/busy options), but
this doesnt seem to have made any difference.

It looks like the problem might be with Exchange querying for all attendees.
How can I get it to only return if a specific user is available?

Any ideas?



2. Exchange DNS Error

3. freebusy returns nada

4. Store.exe are using alot of memory...

5. Mail gets sent but also error message returned

6. Exchange 2k and Workgroup

7. Getting FreeBusy via a MTS component

8. Moving server to new Organization

9. Directory Service returned error DS_UPDATE_ERROR , problem 4698228.

10. CDO: MAPI_E_NO_SUPPORT error after accessing freebusy information

11. Schedule+ freebusy connector error.

12. Error in retrieving FreeBusy Information using CDO

13. FREEBUSY information problems using CDOEX