Scheduler to Microsoft Exchange Error

7 posts, 0 answers
  1. Erwin
    Erwin avatar
    74 posts
    Member since:
    Apr 2009

    Posted 07 Feb 2011 Link to this post

    Hello Everyone

    I have tried this link
    http://www.telerik.com/help/aspnet-ajax/data-binding-exchange-provider.html
    but i always get an error

    The request failed with HTTP status 440: Login Timeout.

    What might be my mistake?

    Thank you
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 07 Feb 2011 Link to this post

    Hi Erwin,

    Please, make sure you set valid credentials in Page_Init:
    protected void Page_Init(object sender, EventArgs e)
    {
       ExchangeSchedulerProvider provider =
           new ExchangeSchedulerProvider("https://dc1.litwareinc.com/EWS/Exchange.asmx",
    "wl", "pass@word1", "litwareinc");
            
       // Alternatively, you can pass in existing credentials (NetworkCredential object):
       // new ExchangeSchedulerProvider("https://dc1.litwareinc.com/EWS/Exchange.asmx", credentials);
       RadScheduler1.Provider = provider;
    }


    Greetings,
    Peter
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. Erwin
    Erwin avatar
    74 posts
    Member since:
    Apr 2009

    Posted 09 Feb 2011 Link to this post

    Thank you for the response

    Is the domain name the one after the @ sign and before the .com? (name@____.com)
    I did not find my serverUrl... What are the usual serverUrl?

    Also, If i fill up the correct items, should i see the calendar from my outlook to the scheduler?

    Thanks again
    Erwin
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 11 Feb 2011 Link to this post

    Hi Erwin,

    I am not sure I understand your question, but here is another possible setup example for the exchange provider through the web.config file:

    <configuration>
        <configSections>
            <sectionGroup name="telerik.web.ui">
                <section name="radScheduler" type="Telerik.Web.UI.RadSchedulerConfigurationSection, Telerik.Web.UI, PublicKeyToken=121fae78165ba3d4" allowDefinition="MachineToApplication" requirePermission="false"/>
            </sectionGroup>
        </configSections>
        <telerik.web.ui>
            <radScheduler defaultAppointmentProvider="Integrated">
                <appointmentProviders>
                    <add name="ExchangeCorporateCalendarsProvider" type="Telerik.Web.Examples.Scheduler.ExchangeSchedulerProvider" serverUrl="https://exchangebg07.abv.com/EWS/Exchange.asmx" username="Admin" password="pass123" domain="abv"/>
                </appointmentProviders>
            </radScheduler>
        </telerik.web.ui>
        <appSettings>

    As for the last questions - yes, you will be able to see your MS Outlook appointments in RadScheduler provided that you connect to your exchange server successfully.

    Regards,
    Peter
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  5. Erwin
    Erwin avatar
    74 posts
    Member since:
    Apr 2009

    Posted 15 Feb 2011 Link to this post


    Hello Peter ,

    I now have the correct credentials of my Exchange Mail but i think i stumble in another problem.
    The scheduler is displayed now but has no records at first even if i have many appointments in my outlook calendar.

    I tried to add a appointment in the scheduler and saved it. When the page refresh it was added in the scheduler and when i rerun the project it is still there(this is OK) but the problem is that the appointment that i made in the scheduler can not be seen in my outlook.

    Maybe i should point out which folder to connect or specify the folder name of the calendar since in the outlook I have default folders like My Calendars, Other Calendars and New Group. Or maybe, I should specify the name of the calendar.

    Can  you help me on this.

    Thank you

    Erwin
  6. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 15 Feb 2011 Link to this post

    Hello Erwin,

    Yes, I would also search in this direction - make sure I get the right Calendar (since there could be many). Other than that, I cannot give you more specific advice since I don't have a working sample to test.


    Greetings,
    Peter
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  7. Erwin
    Erwin avatar
    74 posts
    Member since:
    Apr 2009

    Posted 25 Feb 2011 Link to this post

    Hello again

    My Scheduler works fine now.

    I was just curious. How can i get the First name and Last name of the email account that i used.
    Or get other account information.

    Thank you,

    Erwin
Back to Top