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

ExchangeSchedulerProvider

8 Answers 158 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Hal Trask
Top achievements
Rank 1
Hal Trask asked on 22 Sep 2008, 09:42 PM
Hello,

Is there is a way to communicate with Microsoft Exchange Server by using RadScheduler's ExchangeSchedulerProvider without using web services?

Could you please provide more examples of using ExchangeSchedulerProvider beside what you have on your demo site?

Thank you very much

8 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 24 Sep 2008, 02:28 PM
Hi Hal Trask,

That's a very good question, thank you for asking.

As far as I know, Exchange supports MAPI, WebDav and Web Services as means to communicate with third party applications. We have considered all of them in order to choose the best one for the provider.

We have ruled out MAPI, as it is a 16/32-bit only native component and running it on a 64-bit server would have been troublesome. Initially WebDav looked very promising, as it is not Exchange-specific, but eventually we ruled it out, as it was ridicilously complex when dealing with recurring appointments.

So, we have decided on using Web Services, as they seem to be the officially supported means of communicating with exchange. Retrofitting the provider to use the other mechanisms would be very difficult at this point.

We will be happy to provide additional examples. Can you please tell us what scenarios might be of interest to you?

Regards,
Tsvetomir Tsonev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mark
Top achievements
Rank 1
answered on 26 Sep 2008, 12:48 PM
Hi,
would the ExchangeSchedulerProvider enable me to display exchange appointments within my scheduler ?

If so, do you have any examples of this ?

Thanks
Mark
0
Hal Trask
Top achievements
Rank 1
answered on 29 Sep 2008, 03:54 PM
Tsvetomir,

In our environment, we are a user of the Exchange server and another agency manages our exchange server In the example code, it seems that the 4 things that are required in order to connect are the server url, username, password, and domain.

We may be a little confused on what these values are and we are researching, however, can you provide a specific example of how this should be configured?

Also, are there any security items or web services items on the Exchange server as far as configuration goes that we should be concerned with?

Is there a minimum version requirement for the Exchange server software as well?

btw.....we confirmed with our Exchange administrator that we are using the proper server url and domain name. We have tried several username and pawword combinations and still get an http 401 error.
0
T. Tsonev
Telerik team
answered on 30 Sep 2008, 09:03 AM
Hello,

We are not quite the experts when it comes down to Exchange server administration, but we will try to help as much as we can.

The server URL should look like this:
https://server.company.com/EWS/Exchange.asmx
We strongly recommend the use of an SSL-secured connection. Notice that the currently shipping version does not validate the certificate to ease development with test certificates, but once you move to production you will need to replace the ValidateCertificate method with a real implementation like this:

        protected virtual bool ValidateCertificate(Object obj, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors) 
        { 
            if (sslPolicyErrors == SslPolicyErrors.None) 
                return true
 
            return false
        } 
 

The other parameters - user name, domain name and password must correspond to a valid exchange account.

You should disable anonymous access to the EWS virtual directory, as mentioned in this blog post:
http://www.gurucave.com/blog/?p=19

The authentication error you are getting might be caused by this.

The minimum required version is Exchange 2007. Web services are not available in prior versions. We are using Exchange 2007 SP1 for development and testing.

Kind regards,
Tsvetomir Tsonev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
H.
Top achievements
Rank 1
answered on 30 Sep 2011, 10:13 PM
Hi guys, I have the error 401. Unauthorized. I create a user control that I use in SharePoint 2010. The usercontrol has a RadScheduler inside and I want to get the information of the appointment from Exchange. So I use the Exchange provider that I find in your site. I think there are three or four class. When I run the usercontrol in my development environment where is SharePOint install I can get my Appointment without any problem but When I use a remote PC I get 401 error. I have tried many things such as use CredentialCache.DefaultNetworkCredential and pass that value to binding.credentials but it does not work.

I thought that was the web service but I do not think so because I did a Overlay Calendar in SharePoint 2010 in my same box with the same urls and it works remotely or locally.

Some Idea how I can fix the problem??  

Guys I really need to put this demo together and show my boss how powerful is Telerik.

best regards
HANK
0
Kalina
Telerik team
answered on 05 Oct 2011, 10:38 AM
Hi H.,

Do you use RadScriptManager?
If it is so, then please make sure that the  Telerik.Web.UI.WebResource handler at the remote server web.config is configured properly (I suppose that you have already made this on your development machine).
Additionally please take a look at the “Missing handler registration” section of in this help article.

Greetings,
Kalina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Terry
Top achievements
Rank 1
answered on 18 Dec 2013, 04:51 PM
I am using the ExchangeSchedulerProvider and it seems to work fine. However, I am not able to figure out how to map out the "Description" field of an appointment. This field is optional and you are asked to provide a variable name if you want to use it. Along with Subject, Start, End, etc., you can also add an appointment description when entering an appointment through Outlook. Does anyone know how to map this "description" when porting over to RadScheduler? I would like to show this information as a tooltip.

Thanks for your help,
Terry
0
Plamen
Telerik team
answered on 23 Dec 2013, 08:10 AM
Hi Terry,

Yes indeed unfortunately it is not a supported case in RadScheduler. I have created a public item in our feedback portal here where you can vote for its implementing and follow its status. Please excuse use for this limitation for the control.


Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Scheduler
Asked by
Hal Trask
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Mark
Top achievements
Rank 1
Hal Trask
Top achievements
Rank 1
H.
Top achievements
Rank 1
Kalina
Telerik team
Terry
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or