Exchange 2003 as datasource

3 posts, 0 answers
  1. Andreas Selling
    Andreas Selling avatar
    20 posts
    Member since:
    May 2009

    Posted 09 Jun 2009 Link to this post


    RadControls version

    2009.1 527 (May 27, 2009)

    .NET version


    Visual Studio version


    programming language


    browser support

    all browsers supported by RadControls

    This small project show you how to connect to Exchange 2003 via Webdav. All the connections are made in classes and returns object that can bind to the scheduler. Change the appsettings in webconfig file and you should be able to runt this project. You must have a user that has access to all calendars. If you want to use the users login credentials the code can easaly be changed for that.

    You must also have access to Active Directory to get mailadress information.
  2. Karl
    Karl avatar
    172 posts
    Member since:
    Jun 2009

    Posted 23 Sep 2009 Link to this post

    Hi Andreas,

    I was wondering if you could help me, I've spent 2 days lookin at this and can't seem to get around this error. I keep getting the below error on this line . I'm using my own login details and trying to access my own calendar.

    response = (

    Any ideas? Many thanks




    The remote server returned an error: (401) Unauthorized.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Net.WebException: The remote server returned an error: (401) Unauthorized.

    Source Error:

    Line 167:            catch (Exception ex)
    Line 168:            {
    Line 169: throw ex;Line 170:            }
    Line 171:

    Source File: c:\Inetpub\wwwroot\RadScheduer\App_Code\App_Classes\Exchange\Folder.cs    Line: 169

    Stack Trace:

    [WebException: The remote server returned an error: (401) Unauthorized.]
       ExchangeAPI.Folder.GetKnownFolders(String netlogon) in c:\Inetpub\wwwroot\RadScheduer\App_Code\App_Classes\Exchange\Folder.cs:169
  3. T. Tsonev
    T. Tsonev avatar
    2831 posts

    Posted 06 Oct 2009 Link to this post


    We can't really test this, but here's an idea - Exchange 2003 seems to disable Basic Authentication when Forms Authentication is enabled. Perhaps you can use the workaround described here:

    Tsvetomir Tsonev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.