This is a migrated thread and some comments may be shown as answers.

Scheduler to Microsoft Exchange Error

6 Answers 85 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Erwin
Top achievements
Rank 1
Erwin asked on 07 Feb 2011, 01:08 PM
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

6 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 07 Feb 2011, 02:06 PM
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.
0
Erwin
Top achievements
Rank 1
answered on 09 Feb 2011, 02:19 PM
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
0
Peter
Telerik team
answered on 11 Feb 2011, 03:14 PM
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.
0
Erwin
Top achievements
Rank 1
answered on 15 Feb 2011, 02:02 PM

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
0
Peter
Telerik team
answered on 15 Feb 2011, 03:24 PM
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.
0
Erwin
Top achievements
Rank 1
answered on 25 Feb 2011, 02:05 PM
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
Tags
Scheduler
Asked by
Erwin
Top achievements
Rank 1
Answers by
Peter
Telerik team
Erwin
Top achievements
Rank 1
Share this question
or