Exchange 2003 as datasource

Thread is closed for posting
3 posts, 0 answers
  1. 0EEC0F1B-B1BF-446F-B1FB-B45BD068B9EC
    0EEC0F1B-B1BF-446F-B1FB-B45BD068B9EC avatar
    20 posts
    Member since:
    May 2009

    Posted 09 Jun 2009 Link to this post

    Requirements

    RadControls version

    2009.1 527 (May 27, 2009)

    .NET version

    3.5

    Visual Studio version

    2008

    programming language

    C#

    browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    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. EFC793D1-35C0-4DF4-9C02-6ABA096B0435
    EFC793D1-35C0-4DF4-9C02-6ABA096B0435 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 = (

    HttpWebResponse)request.GetResponse();
    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. 7D80720C-814D-4E09-B635-F15948310D19
    7D80720C-814D-4E09-B635-F15948310D19 avatar
    2834 posts
    Member since:
    Sep 2017

    Posted 06 Oct 2009 Link to this post

    Hi,

    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:

    http://blogs.msdn.com/webdav_101/archive/2008/02/01/how-webdav-use-basic-authentication-with-webdav-even-when-fba-is-enabled.aspx

    Greetings,
    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.