ExchangeSchedulerProvider

9 posts, 0 answers
  1. Hal Trask
    Hal Trask avatar
    3 posts
    Member since:
    Jan 2008

    Posted 22 Sep 2008 Link to this post

    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
  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2770 posts

    Posted 24 Sep 2008 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mark
    Mark avatar
    132 posts
    Member since:
    Feb 2008

    Posted 26 Sep 2008 Link to this post

    Hi,
    would the ExchangeSchedulerProvider enable me to display exchange appointments within my scheduler ?

    If so, do you have any examples of this ?

    Thanks
    Mark
  5. Hal Trask
    Hal Trask avatar
    3 posts
    Member since:
    Jan 2008

    Posted 29 Sep 2008 Link to this post

    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.
  6. T. Tsonev
    Admin
    T. Tsonev avatar
    2770 posts

    Posted 30 Sep 2008 Link to this post

    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.
  7. H.
    H. avatar
    33 posts
    Member since:
    Feb 2011

    Posted 30 Sep 2011 Link to this post

    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
  8. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 05 Oct 2011 Link to this post

    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
  9. Terry
    Terry avatar
    5 posts
    Member since:
    Oct 2012

    Posted 18 Dec 2013 Link to this post

    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
  10. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 23 Dec 2013 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017